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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6022 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
a1e2c56079
commit
f29b3b68c8
|
@ -16,7 +16,7 @@
|
||||||
#include "southbridge/amd/cs5536/cs5536_early_setup.c"
|
#include "southbridge/amd/cs5536/cs5536_early_setup.c"
|
||||||
|
|
||||||
#define DIMM0 0xA0
|
#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)
|
static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "southbridge/amd/cs5535/cs5535_early_setup.c"
|
#include "southbridge/amd/cs5535/cs5535_early_setup.c"
|
||||||
|
|
||||||
#define DIMM0 0xA0
|
#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 */
|
static const unsigned char spdbytes[] = { /* 4x Qimonda HYB25DC512160CF-6 */
|
||||||
0xFF, 0xFF, /* only values used by raminit.c are set */
|
0xFF, 0xFF, /* only values used by raminit.c are set */
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "southbridge/amd/cs5536/cs5536_early_setup.c"
|
#include "southbridge/amd/cs5536/cs5536_early_setup.c"
|
||||||
|
|
||||||
#define DIMM0 0xA0
|
#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)
|
static inline int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue