summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-22 17:08:41 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-22 18:28:45 +0100
commit2579019b8248e5f166e60e37065766efc8a49dbc (patch)
tree6c1a182bafce96f3779864c577020beeca2b4536
parent0176c03a2469676df5bf19cf93a1a6f582f6a120 (diff)
downloadu-boot-imx-2579019b8248e5f166e60e37065766efc8a49dbc.zip
u-boot-imx-2579019b8248e5f166e60e37065766efc8a49dbc.tar.gz
u-boot-imx-2579019b8248e5f166e60e37065766efc8a49dbc.tar.bz2
nmdk8815: fix onenand support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--include/configs/nmdk8815.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/nmdk8815.h b/include/configs/nmdk8815.h
index b37352e..543780d 100644
--- a/include/configs/nmdk8815.h
+++ b/include/configs/nmdk8815.h
@@ -48,7 +48,6 @@
#define CONFIG_SYS_NO_FLASH
/* There is NAND storage */
#define CONFIG_NAND_NOMADIK
-#define CONFIG_CMD_NAND
#define CONFIG_CMD_JFFS2
/* user interface */
@@ -131,7 +130,7 @@
#ifdef CONFIG_BOOT_ONENAND
-# undef CONFIG_CMD_NAND /* Temporary: nand and onenand can't coexist */
+# define CONFIG_CMD_ONENAND /* Temporary: nand and onenand can't coexist */
/* Partition Size Start
* XloaderTOC + X-Loader 256KB 0x00000000
* Memory init function 256KB 0x00040000
@@ -149,7 +148,7 @@
#else /* ! CONFIG_BOOT_ONENAND */
-# undef CONFIG_CMD_ONENAND /* Temporary: nand and onenand can't coexist */
+# define CONFIG_CMD_NAND /* Temporary: nand and onenand can't coexist */
# define CONFIG_JFFS2_DEV "nand0"
# define CONFIG_JFFS2_NAND 1 /* For the jffs2 support*/