]> code.ossystems Code Review - bsp/u-boot.git/commit
imx:mx6sx add dram io configure for mx6sx
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 30 Dec 2014 09:24:01 +0000 (17:24 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 1 Feb 2015 21:34:20 +0000 (19:34 -0200)
commit195c032a8b3ef1f7e2438de42dfd64973645c5d0
tree9c87b87fe5810806265a6f88e5e58a9bff05fd05
parent982c08fcdb7029f495d088940324da5d4ef94060
imx:mx6sx add dram io configure for mx6sx

Define two structure mx6sx_iomux_ddr_regs and mx6sx_iomux_grp_regs.
Add a new function mx6sx_dram_iocfg to configure dram io.

Since mx6sx only have one channel mmdc0, define a new empty macro MMDC1
to replace mmdc1->entry=value for mx6sx. And to other mx6 soc, MMDC1
effects as "mmdc1->entry=value".

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