summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Brown <oliver.brown@freescale.com>2013-02-13 12:10:41 -0600
committerOliver Brown <oliver.brown@freescale.com>2013-02-13 12:17:29 -0600
commit82a4725015d9e0e31544c0ab853ef8f2889c53f2 (patch)
tree7a4225afcbaea34307bc0a646836177789b83461
parent550a56fb56a2c3c70def51f7a2bfdbe27bcb07f0 (diff)
downloadu-boot-imx-82a4725015d9e0e31544c0ab853ef8f2889c53f2.zip
u-boot-imx-82a4725015d9e0e31544c0ab853ef8f2889c53f2.tar.gz
u-boot-imx-82a4725015d9e0e31544c0ab853ef8f2889c53f2.tar.bz2
ENGR00244769-3 [NOR FLASH]-Improve WEIM NOR speed
Improvements for WEIM NOR read performance. Changed burst and page size to 8 words. Changed read wait states to 10 and page read wait states to 4. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
-rw-r--r--board/freescale/mx6q_sabreauto/mx6q_sabreauto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c b/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c
index 1f6902f..0a53dd9 100644
--- a/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c
+++ b/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c
@@ -723,10 +723,10 @@ iomux_v3_cfg_t nor_pads[] = {
static void weim_norflash_cs_setup(void)
{
writel(0x00000120, WEIM_BASE_ADDR + 0x090);
- writel(0x00620181, WEIM_BASE_ADDR + 0x000);
+ writel(0x00020181, WEIM_BASE_ADDR + 0x000);
writel(0x00000001, WEIM_BASE_ADDR + 0x004);
- writel(0x0f020000, WEIM_BASE_ADDR + 0x008);
- writel(0x0000b000, WEIM_BASE_ADDR + 0x00c);
+ writel(0x0a020000, WEIM_BASE_ADDR + 0x008);
+ writel(0x0000c000, WEIM_BASE_ADDR + 0x00c);
writel(0x0804a240, WEIM_BASE_ADDR + 0x010);
}