]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
imx:mx6ul add dram spl configuration and header file
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 20 Jul 2015 11:28:33 +0000 (19:28 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 05:53:56 +0000 (07:53 +0200)
commit121e733ec971f780ee9362e51097432e493ee120
tree6e730b413fc437495ea088f67fd9880e13aaddd0
parentb4fc7dfce4bba816e72d35c614d11343c2df6be3
imx:mx6ul add dram spl configuration and header file

1. Define two structures mx6ul_iomux_ddr_regs and mx6ul_iomux_grp_regs.
2. Add a new function mx6ul_dram_iocfg to configure dram io.
3. Refactor MMDC1 macro, discard "#ifdef CONFIG_MX6SX". Since
   only mmdc0 channel exists on i.MX6SX/UL, redefine MMDC1 macro support
   runtime check, but not hardcoding #ifdef macros.
4. Introduce mx6ul-ddr.h, which includes the register address for DRAM
   IO configuration.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
arch/arm/cpu/armv7/mx6/ddr.c
arch/arm/include/asm/arch-mx6/mx6-ddr.h
arch/arm/include/asm/arch-mx6/mx6ul-ddr.h [new file with mode: 0644]