summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s2912_fam10/romstage.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-11-20 20:36:40 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-11-20 20:36:40 +0000
commit26535d6e28b9c6697ff2865ba0fd6b2b63054f24 (patch)
treeaa4ed95f19cc9d4d100cceeffe6f564fe7082a96 /src/mainboard/tyan/s2912_fam10/romstage.c
parentd773fd370a92a6da2f7dbf91c085eb0df1f6f30d (diff)
downloadcoreboot-26535d6e28b9c6697ff2865ba0fd6b2b63054f24.tar.xz
Merge all spd_addr.h into the resp. romstage.c files.
Except for one instance the spd_addr.h were now very tiny, there's not much point in keeping that stuff in an extra file. The only user of those files is the romstage.c file anyway. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6101 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s2912_fam10/romstage.c')
-rw-r--r--src/mainboard/tyan/s2912_fam10/romstage.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/tyan/s2912_fam10/romstage.c b/src/mainboard/tyan/s2912_fam10/romstage.c
index 9e15f9e870..5963d18d67 100644
--- a/src/mainboard/tyan/s2912_fam10/romstage.c
+++ b/src/mainboard/tyan/s2912_fam10/romstage.c
@@ -33,6 +33,7 @@
#include <console/console.h>
#include <usbdebug.h>
#include <lib.h>
+#include <spd.h>
#include <cpu/amd/model_10xxx_rev.h>
@@ -120,7 +121,13 @@ static void sio_setup(void)
pci_write_config32(PCI_DEV(0, MCP55_DEVN_BASE+1 , 0), 0xa4, dword);
}
-#include "spd_addr.h"
+static const u8 spd_addr[] = {
+ //first node
+ RC00, DIMM0, DIMM2, 0, 0, DIMM1, DIMM3, 0, 0,
+#if CONFIG_MAX_PHYSICAL_CPUS > 1
+ //second node
+ RC00, DIMM4, DIMM6, 0, 0, DIMM5, DIMM7, 0, 0,
+#endif
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
{