summaryrefslogtreecommitdiff
path: root/board/nc650/nc650.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-11 23:10:30 +0000
committerwdenk <wdenk>2004-10-11 23:10:30 +0000
commit8b74bf31fe57edfc502f94e905977304eac943ca (patch)
tree18e1f65a33cf3b6349eb7553c593d4ecce34f1bb /board/nc650/nc650.c
parent4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 (diff)
Cleanup
Diffstat (limited to 'board/nc650/nc650.c')
-rw-r--r--board/nc650/nc650.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/nc650/nc650.c b/board/nc650/nc650.c
index c2f0c79286..e0fa76f922 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
-