commit | 9ca52bbed28fb310b05c988d16510a7183f9d957 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon Feb 25 16:50:48 2008 +0100 |
committer | Stefan Roese <sr@denx.de> | Mon Feb 25 16:50:48 2008 +0100 |
tree | 8961075517ce1625807d7ca05a52882f234288fb | |
parent | 513ee371ba5e52a8b0208aeb24f49d02d3e9081f [diff] |
ppc4xx: Fix acadia_nand build problem 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>
diff --git a/board/amcc/acadia/memory.c b/board/amcc/acadia/memory.c index 9346d2c..709d41e 100644 --- a/board/amcc/acadia/memory.c +++ b/board/amcc/acadia/memory.c
@@ -117,7 +117,9 @@ return (CFG_MBYTES_RAM << 20); } +#ifndef CONFIG_NAND_SPL int testdram(void) { return (0); } +#endif