From: Stefan Roese <sr@denx.de>
Date: Wed, 24 Aug 2005 09:21:36 +0000 (+0200)
Subject: Fixed bamboo port to enable running without DDR-DIMM (bamboo has also 64MB onboard... 
X-Git-Tag: v2025.01-rc5-pxa1908~23271
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/git-logo.png?a=commitdiff_plain;h=a3e4fcb860957b6677aa64e0f48c9b3015b85a39;p=u-boot.git

Fixed bamboo port to enable running without DDR-DIMM (bamboo has also 64MB onboard DDR)
Patch by Stefan Roese, 24 Aug 2005
---

diff --git a/CHANGELOG b/CHANGELOG
index e6a58b4fc0..85e7dffd2f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,10 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Fixed bamboo port to enable running without DDR-DIMM (bamboo has also
+  64MB onboard DDR)
+  Patch by Stefan Roese, 24 Aug 2005
+
 * Merged 405gp_enet.c and 440gx_enet.c to generic 4xx_enet.c
   now handling all 4xx cpu's
   Patch by Stefan Roese, 16 Aug 2005
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,