diff options
author | wdenk <wdenk> | 2004-10-11 23:03:10 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2004-10-11 23:03:10 (GMT) |
commit | 4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 (patch) | |
tree | 94bd762d02b2d183f7a1ea81f179df4f2fa53c80 /board/nc650 | |
parent | d407bf52b5dfb96816969c126f14b35df1f233ae (diff) | |
download | u-boot-fsl-qoriq-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.tar.xz |
* 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.c | 10 |
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 + |