From 8b74bf31fe57edfc502f94e905977304eac943ca Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 11 Oct 2004 23:10:30 +0000 Subject: Cleanup --- board/nc650/nc650.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'board/nc650') 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 - -- cgit v1.1