]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: Fix acadia_nand build problem
authorStefan Roese <sr@denx.de>
Mon, 25 Feb 2008 15:50:48 +0000 (16:50 +0100)
committerStefan Roese <sr@denx.de>
Mon, 25 Feb 2008 15:50:48 +0000 (16:50 +0100)
Don't include testdram() on NAND-booting target acadia_nand. This saves
a few bytes and makes the target build clean again.

Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/acadia/memory.c

index 9346d2c52fb969590a7c1fbedb580081cf5d5dff..709d41e41aa456eaf7d60f4ea05296b66453b604 100644 (file)
@@ -117,7 +117,9 @@ long int initdram(int board_type)
        return (CFG_MBYTES_RAM << 20);
 }
 
+#ifndef CONFIG_NAND_SPL
 int testdram(void)
 {
        return (0);
 }
+#endif