summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-02-25 16:50:48 +0100
committerStefan Roese <sr@denx.de>2008-02-25 16:50:48 +0100
commit64cd594e623c39f73964d18787763e4533f791f7 (patch)
tree8961075517ce1625807d7ca05a52882f234288fb
parentb29661fc1151077776454288051bc9a488351ce8 (diff)
downloadu-boot-imx-64cd594e623c39f73964d18787763e4533f791f7.zip
u-boot-imx-64cd594e623c39f73964d18787763e4533f791f7.tar.gz
u-boot-imx-64cd594e623c39f73964d18787763e4533f791f7.tar.bz2
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>
-rw-r--r--board/amcc/acadia/memory.c2
1 files changed, 2 insertions, 0 deletions
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 @@ long int initdram(int board_type)
return (CFG_MBYTES_RAM << 20);
}
+#ifndef CONFIG_NAND_SPL
int testdram(void)
{
return (0);
}
+#endif