Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76988?usp=email )
Change subject: mb/roda/rv11: Add Haswell-style SPD info ......................................................................
mb/roda/rv11: Add Haswell-style SPD info
Change-Id: I0c1b92e482feaf7708aa3ec4d4db6ae756dc78e7 Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/roda/rv11/variants/rv11/early_init.c M src/mainboard/roda/rv11/variants/rw11/early_init.c 2 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/76988/1
diff --git a/src/mainboard/roda/rv11/variants/rv11/early_init.c b/src/mainboard/roda/rv11/variants/rv11/early_init.c index 9386620..155152c 100644 --- a/src/mainboard/roda/rv11/variants/rv11/early_init.c +++ b/src/mainboard/roda/rv11/variants/rv11/early_init.c @@ -82,3 +82,9 @@ read_spd(&spd[0], 0x50, id_only); read_spd(&spd[2], 0x52, id_only); } + +void mb_get_spd_map(struct spd_info *spdi) +{ + spdi->addresses[0] = 0x50; + spdi->addresses[2] = 0x52; +} diff --git a/src/mainboard/roda/rv11/variants/rw11/early_init.c b/src/mainboard/roda/rv11/variants/rw11/early_init.c index b3378ba..84bf2d1 100644 --- a/src/mainboard/roda/rv11/variants/rw11/early_init.c +++ b/src/mainboard/roda/rv11/variants/rw11/early_init.c @@ -114,3 +114,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; +}