Author: uwe Date: Fri Nov 5 01:19:21 2010 New Revision: 6022 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6022
Log: GX2: Define the unused DIMM1 to 0xFF to make it obvious it is a bogus value.
This is Abuild and boot tested.
Signed-off-by: Nils Jacobs njacobs8@hetnet.nl Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/src/mainboard/amd/rumba/romstage.c trunk/src/mainboard/lippert/frontrunner/romstage.c trunk/src/mainboard/wyse/s50/romstage.c
Modified: trunk/src/mainboard/amd/rumba/romstage.c ============================================================================== --- trunk/src/mainboard/amd/rumba/romstage.c Fri Nov 5 01:13:14 2010 (r6021) +++ trunk/src/mainboard/amd/rumba/romstage.c Fri Nov 5 01:19:21 2010 (r6022) @@ -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) {
Modified: trunk/src/mainboard/lippert/frontrunner/romstage.c ============================================================================== --- trunk/src/mainboard/lippert/frontrunner/romstage.c Fri Nov 5 01:13:14 2010 (r6021) +++ trunk/src/mainboard/lippert/frontrunner/romstage.c Fri Nov 5 01:19:21 2010 (r6022) @@ -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 */
Modified: trunk/src/mainboard/wyse/s50/romstage.c ============================================================================== --- trunk/src/mainboard/wyse/s50/romstage.c Fri Nov 5 01:13:14 2010 (r6021) +++ trunk/src/mainboard/wyse/s50/romstage.c Fri Nov 5 01:19:21 2010 (r6022) @@ -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) {