summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/quartet/auto.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2003-11-19 12:28:07 +0000
committerStefan Reinauer <stepan@openbios.org>2003-11-19 12:28:07 +0000
commit93cbf82e6e7d7ca41bbdec14cd030da0468c63f0 (patch)
treee71b7733a7feb19d594b60dd71d86f07a76a3c05 /src/mainboard/amd/quartet/auto.c
parent3d099e7fac6b9e1c49957c0f21cc346ab5e58b22 (diff)
downloadcoreboot-93cbf82e6e7d7ca41bbdec14cd030da0468c63f0.tar.xz
faking spd setup for now on quartet ;)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1294 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/quartet/auto.c')
-rw-r--r--src/mainboard/amd/quartet/auto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/amd/quartet/auto.c b/src/mainboard/amd/quartet/auto.c
index 788969deaa..c9a72e3320 100644
--- a/src/mainboard/amd/quartet/auto.c
+++ b/src/mainboard/amd/quartet/auto.c
@@ -101,6 +101,7 @@ static unsigned int generate_row(uint8_t node, uint8_t row, uint8_t maxnodes)
}
+#if ( FAKE_SPDROM != 1 )
static inline void activate_spd_rom(const struct mem_controller *ctrl)
{
#define SMBUS_HUB 0x30
@@ -113,6 +114,9 @@ static inline int spd_read_byte(unsigned device, unsigned address)
{
return smbus_read_byte(device & 0xff, address);
}
+#else
+#include "fakespd.c"
+#endif
/* no specific code here. this should go away completely */
static void coherent_ht_mainboard(unsigned cpus)