From c4ee714881c7f7bb7a9208b39c76d98578c434b1 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 12 Mar 2021 20:48:53 +0100 Subject: nb/intel/haswell: Use unshifted SPD addresses in mainboards It's common to use the raw, unshifted I2C address in coreboot. Adapt mainboards accordingly and perform the shift in MRC glue code. Tested on Asrock B85M Pro4, still boots and still resumes from S3. Change-Id: I4e4978772744ea27f4c5a88def60a8ded66520e1 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51458 Reviewed-by: Nico Huber Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/mainboard/supermicro/x10slm-f/romstage.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainboard/supermicro/x10slm-f') diff --git a/src/mainboard/supermicro/x10slm-f/romstage.c b/src/mainboard/supermicro/x10slm-f/romstage.c index 2ec993ffb3..e555bea29b 100644 --- a/src/mainboard/supermicro/x10slm-f/romstage.c +++ b/src/mainboard/supermicro/x10slm-f/romstage.c @@ -19,10 +19,10 @@ void mainboard_config_rcba(void) void mb_get_spd_map(struct spd_info *spdi) { - spdi->addresses[0] = 0xa0; - spdi->addresses[1] = 0xa2; - spdi->addresses[2] = 0xa4; - spdi->addresses[3] = 0xa6; + spdi->addresses[0] = 0x50; + spdi->addresses[1] = 0x51; + spdi->addresses[2] = 0x52; + spdi->addresses[3] = 0x53; } const struct usb2_port_setting mainboard_usb2_ports[MAX_USB2_PORTS] = { -- cgit v1.2.3