summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2009-05-05 05:36:13 +0530
committerJustin Waters <justin.waters@timesys.com>2009-09-09 14:03:27 -0400
commit2524293ff2fcedaf2f995344f897f5f3d4f4f576 (patch)
tree25302826a274326879603780125898ef4cca6c44
parent4ed2a4af1a55d1abca7101ef1f96bdff2c1b32ce (diff)
DA850: NAND: Mux only the necessary pins
-rw-r--r--board/da8xx/da8xx-evm/da850.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/board/da8xx/da8xx-evm/da850.c b/board/da8xx/da8xx-evm/da850.c
index 7c67e67428..4c17f33aae 100644
--- a/board/da8xx/da8xx-evm/da850.c
+++ b/board/da8xx/da8xx-evm/da850.c
@@ -166,7 +166,7 @@ int board_init(void)
#endif
/* Async EMIF */
-#if defined(CONFIG_SYS_USE_NAND) || defined(CONFIG_SYS_USE_NOR)
+#if defined(CONFIG_SYS_USE_NOR)
REG(PINMUX6) = 0x11111111;
REG(PINMUX7) = 0x11111111;
REG(PINMUX8) = 0x11111111;
@@ -176,6 +176,12 @@ int board_init(void)
REG(PINMUX12) = 0x11111111;
REG(PINMUX5) &= 0x00FFFFFF;
REG(PINMUX5) |= 0x11000000;
+#elif defined(CONFIG_SYS_USE_NAND)
+ REG(PINMUX7) &= 0xFF00F00F;
+ REG(PINMUX7) |= 0x00110110;
+ REG(PINMUX9) = 0x11111111;
+ REG(PINMUX12) &= 0xF00FFFFF;
+ REG(PINMUX12) |= 0x01100000;
#endif
/* UART2 Muxing and enabling */