summaryrefslogtreecommitdiff
path: root/cpu
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
parenta9fe9f427d5ed13e1a94f846a49715a84c316a97 (diff)
downloadu-boot-imx-a3e4fcb860957b6677aa64e0f48c9b3015b85a39.zip
u-boot-imx-a3e4fcb860957b6677aa64e0f48c9b3015b85a39.tar.gz
u-boot-imx-a3e4fcb860957b6677aa64e0f48c9b3015b85a39.tar.bz2
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')
-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 a8cfcd4..3b7125d 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,