Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76989?usp=email )
Change subject: mb/supermicro/x9*: Add Haswell-style SPD info ......................................................................
mb/supermicro/x9*: Add Haswell-style SPD info
Change-Id: Ib78b2f64485d0ff81af0c07184735513b9efb026 Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/supermicro/x9sae/early_init.c M src/mainboard/supermicro/x9scl/early_init.c 2 files changed, 18 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/76989/1
diff --git a/src/mainboard/supermicro/x9sae/early_init.c b/src/mainboard/supermicro/x9sae/early_init.c index 7e03212..c724737 100644 --- a/src/mainboard/supermicro/x9sae/early_init.c +++ b/src/mainboard/supermicro/x9sae/early_init.c @@ -2,6 +2,7 @@
#include <bootblock_common.h> #include <device/pnp_ops.h> +#include <northbridge/intel/sandybridge/raminit.h> #include <northbridge/intel/sandybridge/raminit_native.h> #include <southbridge/intel/bd82x6x/pch.h> #include <superio/nuvoton/common/nuvoton.h> @@ -60,3 +61,11 @@ read_spd(&spd[2], 0x52, id_only); read_spd(&spd[3], 0x53, id_only); } + +void mb_get_spd_map(struct spd_info *spdi) +{ + spdi->addresses[0] = 0x50; + spdi->addresses[1] = 0x51; + spdi->addresses[2] = 0x52; + spdi->addresses[3] = 0x53; +} diff --git a/src/mainboard/supermicro/x9scl/early_init.c b/src/mainboard/supermicro/x9scl/early_init.c index 9438a51..8c9f7f6e 100644 --- a/src/mainboard/supermicro/x9scl/early_init.c +++ b/src/mainboard/supermicro/x9scl/early_init.c @@ -6,6 +6,7 @@ #include <device/pnp_ops.h> #include <bootblock_common.h> #include <northbridge/intel/sandybridge/sandybridge.h> +#include <northbridge/intel/sandybridge/raminit.h> #include <northbridge/intel/sandybridge/raminit_native.h> #include <southbridge/intel/bd82x6x/pch.h> #include <superio/nuvoton/common/nuvoton.h> @@ -111,6 +112,14 @@ read_spd(&spd[3], 0x53, id_only); }
+void mb_get_spd_map(struct spd_info *spdi) +{ + spdi->addresses[0] = 0x50; + spdi->addresses[1] = 0x51; + spdi->addresses[2] = 0x52; + spdi->addresses[3] = 0x53; +} + void mainboard_early_init(int s3resume) { /* Disable IGD VGA decode, no GTT or GFX stolen */