diff options
author | Ye.Li <B37916@freescale.com> | 2015-05-07 12:16:19 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2015-05-07 15:54:19 +0800 |
commit | cc5a7001a79d88c399545d8c62e57665be7efb83 (patch) | |
tree | 33b679f945d321e20e177a782773bcb9e2f8ef40 /board/freescale/mx6ul_ddr3_arm2 | |
parent | 334303d35a348f39609bf84c13f445dba80810cb (diff) | |
download | u-boot-imx-cc5a7001a79d88c399545d8c62e57665be7efb83.zip u-boot-imx-cc5a7001a79d88c399545d8c62e57665be7efb83.tar.gz u-boot-imx-cc5a7001a79d88c399545d8c62e57665be7efb83.tar.bz2 |
MLK-10841 imx: mx6ul_ddr3_arm2: Add support for WEIMNOR boot
Correct the EIMNOR settings to non-mux mode and set the environment
variables configuration to FLASH when using WEIMNOR boot.
New target is added for build WEIMNOR boot u-boot:
mx6ul_ddr3_arm2_eimnor_config
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board/freescale/mx6ul_ddr3_arm2')
-rw-r--r-- | board/freescale/mx6ul_ddr3_arm2/mx6ul_ddr3_arm2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mx6ul_ddr3_arm2/mx6ul_ddr3_arm2.c b/board/freescale/mx6ul_ddr3_arm2/mx6ul_ddr3_arm2.c index bbf5048..644018e 100644 --- a/board/freescale/mx6ul_ddr3_arm2/mx6ul_ddr3_arm2.c +++ b/board/freescale/mx6ul_ddr3_arm2/mx6ul_ddr3_arm2.c @@ -326,11 +326,11 @@ static iomux_v3_cfg_t const eimnor_pads[] = { static void eimnor_cs_setup(void) { writel(0x00000120, WEIM_BASE_ADDR + 0x090); - writel(0x00610089, WEIM_BASE_ADDR + 0x000); + writel(0x00010181, WEIM_BASE_ADDR + 0x000); writel(0x00000001, WEIM_BASE_ADDR + 0x004); - writel(0x1c022000, WEIM_BASE_ADDR + 0x008); - writel(0x00000000, WEIM_BASE_ADDR + 0x00c); - writel(0x1404a38e, WEIM_BASE_ADDR + 0x010); + writel(0x0a020000, WEIM_BASE_ADDR + 0x008); + writel(0x0000c000, WEIM_BASE_ADDR + 0x00c); + writel(0x0804a240, WEIM_BASE_ADDR + 0x010); } static void setup_eimnor(void) |