diff options
author | wdenk <wdenk> | 2004-10-11 23:10:30 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-10-11 23:10:30 +0000 |
commit | 8b74bf31fe57edfc502f94e905977304eac943ca (patch) | |
tree | 18e1f65a33cf3b6349eb7553c593d4ecce34f1bb /board/nc650 | |
parent | 4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 (diff) | |
download | u-boot-imx-8b74bf31fe57edfc502f94e905977304eac943ca.zip u-boot-imx-8b74bf31fe57edfc502f94e905977304eac943ca.tar.gz u-boot-imx-8b74bf31fe57edfc502f94e905977304eac943ca.tar.bz2 |
Cleanup
Diffstat (limited to 'board/nc650')
-rw-r--r-- | board/nc650/nc650.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/nc650/nc650.c b/board/nc650/nc650.c index c2f0c79..e0fa76f 100644 --- a/board/nc650/nc650.c +++ b/board/nc650/nc650.c @@ -195,8 +195,7 @@ long int initdram (int board_type) * - short between data lines */ -static long int dram_size (long int mamr_value, long int *base, - long int maxsize) +static long int dram_size (long int mamr_value, long int *base, long int maxsize) { volatile immap_t *immap = (immap_t *) CFG_IMMR; volatile memctl8xx_t *memctl = &immap->im_memctl; @@ -209,9 +208,10 @@ static long int dram_size (long int mamr_value, long int *base, #if (CONFIG_COMMANDS & CFG_CMD_NAND) void nand_init(void) { + extern unsigned long nand_probe(unsigned long physadr); + unsigned long totlen = nand_probe(CFG_NAND_BASE); printf ("%4lu MB\n", totlen >> 20); } #endif - |