summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-08-17 01:14:45 +0800
committerIru Cai <mytbk920423@gmail.com>2020-09-16 01:06:29 +0800
commit7a48ccdbf0266d370e165d790f2c373339a346dc (patch)
tree19c338d9707eecbc5b576a23cc94b5e5706b735c
parent4a6fd6a5798ce3b985f23adbb346574e1f1c2b93 (diff)
downloadcoreboot-7a48ccdbf0266d370e165d790f2c373339a346dc.tar.xz
hp/820g1: fix spd map
-rw-r--r--src/mainboard/hp/820g1/romstage.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/hp/820g1/romstage.c b/src/mainboard/hp/820g1/romstage.c
index 09e176c816..6d05e1201a 100644
--- a/src/mainboard/hp/820g1/romstage.c
+++ b/src/mainboard/hp/820g1/romstage.c
@@ -27,9 +27,7 @@ void mb_get_spd_map(uint8_t spd_map[4])
/* FIXME: check this */
/* note that SPD addresses are left-shifted by 1. */
spd_map[0] = 0xa0;
- spd_map[1] = 0xa2;
- spd_map[2] = 0xa4;
- spd_map[3] = 0xa6;
+ spd_map[2] = 0xa2;
}
void mainboard_fill_pei_data(struct pei_data *pei_data)
@@ -55,4 +53,4 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
};
memcpy(pei_data->usb2_ports, usb2_ports, sizeof(usb2_ports));
memcpy(pei_data->usb3_ports, usb3_ports, sizeof(usb3_ports));
-} \ No newline at end of file
+}