]> git.karo-electronics.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:57:31 +0000 (12:57 +0200)
commit029b12698a804f7abd1056e9b20d4e2fd252825a
treecb4b95154c8886e9720dedc642b36571bdd4414b
parentec712d1a32f9583383abf01edaef467c6f8225b9
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