Merge all spd_addr.h into the resp. romstage.c files.
[coreboot.git] / src / mainboard / supermicro / h8dmr_fam10 / romstage.c
index 186c1bb7ece12cdfb62cb1b88207d6326dbe3d56..16a76242123f09eed2db849b6f0fcb7d755c0268 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <console/console.h>
 #include <lib.h>
+#include <spd.h>
 
 #include <cpu/amd/model_10xxx_rev.h>
 
@@ -117,7 +118,14 @@ static void sio_setup(void)
 
 }
 
-#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)
 {