GX2: Define the unused DIMM1 to 0xFF to make it obvious it is a bogus value.
authorNils Jacobs <njacobs8@hetnet.nl>
Fri, 5 Nov 2010 00:19:21 +0000 (00:19 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 5 Nov 2010 00:19:21 +0000 (00:19 +0000)
This is Abuild and boot tested.

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6022 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/mainboard/amd/rumba/romstage.c
src/mainboard/lippert/frontrunner/romstage.c
src/mainboard/wyse/s50/romstage.c

index dc2555992c781eb867eb8cc5eace6b8d6228c766..f8cd775f024a01416e51cb331d3fa252978012cc 100644 (file)
@@ -16,7 +16,7 @@
 #include "southbridge/amd/cs5536/cs5536_early_setup.c"
 
 #define DIMM0 0xA0
-#define DIMM1 0xA2
+#define DIMM1 0xFF /* DIMM1 is not available/used on this board. */
 
 static inline int spd_read_byte(unsigned device, unsigned address)
 {
index 6630b581d81fff844323518bd57f83198a4b2897..f86abef5a5c844d91afeb3aa58efaffbf1750d1a 100644 (file)
@@ -18,7 +18,7 @@
 #include "southbridge/amd/cs5535/cs5535_early_setup.c"
 
 #define DIMM0 0xA0
-#define DIMM1 0xA2
+#define DIMM1 0xFF /* DIMM1 is not available/used on this board. */
 
 static const unsigned char spdbytes[] = {      /* 4x Qimonda HYB25DC512160CF-6 */
        0xFF, 0xFF,                             /* only values used by raminit.c are set */
index 64849be7715f53e16114b73bc2dbc0e204cb3d73..657667cfe8a130d8d65dff859f9ca55901d5c6a1 100644 (file)
@@ -35,7 +35,7 @@
 #include "southbridge/amd/cs5536/cs5536_early_setup.c"
 
 #define DIMM0 0xA0
-#define DIMM1 0xA2
+#define DIMM1 0xFF /* DIMM1 is not available/used on this board. */
 
 static inline int spd_read_byte(unsigned int device, unsigned int address)
 {