summaryrefslogtreecommitdiffstats
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-08-24 11:21:36 +0200
committerStefan Roese <sr@denx.de>2005-08-24 11:21:36 +0200
commita3e4fcb860957b6677aa64e0f48c9b3015b85a39 (patch)
tree20584008e0a5b1457cc3fd8f3cd23c32512f4f8f /cpu/ppc4xx
parenta9fe9f427d5ed13e1a94f846a49715a84c316a97 (diff)
downloadtalos-obmc-uboot-a3e4fcb860957b6677aa64e0f48c9b3015b85a39.tar.gz
talos-obmc-uboot-a3e4fcb860957b6677aa64e0f48c9b3015b85a39.zip
Fixed bamboo port to enable running without DDR-DIMM (bamboo has also 64MB onboard DDR)
Patch by Stefan Roese, 24 Aug 2005
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/spd_sdram.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/spd_sdram.c b/cpu/ppc4xx/spd_sdram.c
index a8cfcd4e75..3b7125dc57 100644
--- a/cpu/ppc4xx/spd_sdram.c
+++ b/cpu/ppc4xx/spd_sdram.c
@@ -849,10 +849,12 @@ void get_spd_info(unsigned long* dimm_populated,
}
}
+#ifndef CONFIG_BAMBOO /* bamboo has onboard DDR _and_ DDR DIMM's */
if (dimm_found == FALSE) {
printf("ERROR - No memory installed. Install a DDR-SDRAM DIMM.\n\n");
hang();
}
+#endif /* CONFIG_BAMBOO */
}
void check_mem_type(unsigned long* dimm_populated,
OpenPOWER on IntegriCloud