[U-Boot] [PATCH 1/1] imx: iomux: fix incorrect reference of pad names in macros

2014-10-16 Thread Edward Lin
MX6 reference pad names MX6Q_PAD_xx/MX6DL_PAD_xx when CONFIG_MX6QDL, while other cases reference MX6_PAD_xx only. Cc: Tim Harvey Signed-off-by: Edward Lin --- arch/arm/include/asm/imx-common/iomux-v3.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm

[U-Boot] [PATCH 2/4] mx6: add structs for mmdc and ddr iomux registers

2013-11-08 Thread Edward Lin
Signed-off-by: Edward Lin --- arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h | 167 +++ 1 file changed, 167 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h diff --git a/arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h b/arch/arm/include/asm/arch

[U-Boot] [PATCH 1/4] mx6: add function to determine boot device

2013-11-08 Thread Edward Lin
During boot the boot pin configuration is copied to the SBMR registers. This patch adds a function to read the boot device from SBMR. Signed-off-by: Edward Lin Signed-off-by: Richard Hu --- arch/arm/cpu/armv7/mx6/soc.c | 43 +++ arch/arm/include/asm

[U-Boot] [PATCH 0/4] mx6: Add SPL Framewok

2013-11-08 Thread Edward Lin
Add common code for SPL boot on imx6. Patch 1 adds a function to determine which device mx6 is booting from. Patch 2 adds structures for mmdc and ddr iomux registers Patch 3 adds co-existing pad configs that allows the support of mx6q/mx6d/mx6dl/mx6s in one binary. Patch 4 adds mx6 arch-specif

[U-Boot] [PATCH 4/4] mx6: add arch-specific spl header

2013-11-08 Thread Edward Lin
Using defines instead of enum to be in-line with spl headers for other architectures. Signed-off-by: Richard Hu --- arch/arm/include/asm/arch-mx6/spl.h | 25 + 1 file changed, 25 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx6/spl.h diff --git a/arch/arm/inc

Re: [U-Boot] [PATCH 2/4] mx6: add structs for mmdc and ddr iomux registers

2013-11-12 Thread Edward Lin
On Fri, 2013-11-08 at 16:42 -0700, Eric Nelson wrote: > Hi Edward, > > On 11/08/2013 02:35 AM, Edward Lin wrote: > > Signed-off-by: Edward Lin > > --- > > arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h | 167 > > +++ > > 1 file