]> git.ipfire.org Git - people/ms/u-boot.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)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 09:05:09 +0000 (11:05 +0200)
commita462c346025167ce781dd379e55e4058ecab36b3
tree9cd2afb570bd0a44519b38cab6fde9a476a2d0cf
parent94bd1d143056c1a68d118d151bd54c73828abca1
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]