summaryrefslogtreecommitdiff
path: root/board/nc650
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-11 23:03:10 +0000
committerwdenk <wdenk>2004-10-11 23:03:10 +0000
commit4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 (patch)
tree94bd762d02b2d183f7a1ea81f179df4f2fa53c80 /board/nc650
parentd407bf52b5dfb96816969c126f14b35df1f233ae (diff)
downloadu-boot-imx-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.zip
u-boot-imx-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.tar.gz
u-boot-imx-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.tar.bz2
* Enable NAND flash support for NC650 board.
* Patch by Thomas Lange 07 Oct 2004: Updated README for DBAu1x00 boards to match current status
Diffstat (limited to 'board/nc650')
-rw-r--r--board/nc650/nc650.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/nc650/nc650.c b/board/nc650/nc650.c
index 376dbbd..c2f0c79 100644
--- a/board/nc650/nc650.c
+++ b/board/nc650/nc650.c
@@ -205,3 +205,13 @@ static long int dram_size (long int mamr_value, long int *base,
return (get_ram_size(base, maxsize));
}
+
+#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+void nand_init(void)
+{
+ unsigned long totlen = nand_probe(CFG_NAND_BASE);
+
+ printf ("%4lu MB\n", totlen >> 20);
+}
+#endif
+