From cc5a7001a79d88c399545d8c62e57665be7efb83 Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Thu, 7 May 2015 12:16:19 +0800 Subject: 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 --- board/freescale/mx6ul_ddr3_arm2/mx6ul_ddr3_arm2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'board') 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) -- cgit v1.1