diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-06-23 14:16:10 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-08-27 16:03:50 +0000 |
commit | 887b779c11363b5e9b9be0d2260598fa12a92c43 (patch) | |
tree | 2ef826694e796c98a1ae1b5bc3425878b5fb3f5a /src | |
parent | 19f1e9104a5ae08d031b108a9640bf0f61f61b79 (diff) | |
download | coreboot-887b779c11363b5e9b9be0d2260598fa12a92c43.tar.gz coreboot-887b779c11363b5e9b9be0d2260598fa12a92c43.tar.bz2 coreboot-887b779c11363b5e9b9be0d2260598fa12a92c43.zip |
Broadwell boards: Do not assign unused SPD addresses
The `pei_data` struct is already zero-initialised.
Change-Id: If539cddc007f32a04389bc3b3b06c43cb5c86e10
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55804
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/auron/variants/buddy/spd/spd.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/jecht/spd/spd.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/google/auron/variants/buddy/spd/spd.c b/src/mainboard/google/auron/variants/buddy/spd/spd.c index 9a5480e2be56..200d9095389c 100644 --- a/src/mainboard/google/auron/variants/buddy/spd/spd.c +++ b/src/mainboard/google/auron/variants/buddy/spd/spd.c @@ -7,9 +7,7 @@ void mainboard_fill_spd_data(struct pei_data *pei_data) { pei_data->spd_addresses[0] = 0xa0; - pei_data->spd_addresses[1] = 0x00; pei_data->spd_addresses[2] = 0xa4; - pei_data->spd_addresses[3] = 0x00; pei_data->dimm_channel0_disabled = 2; pei_data->dimm_channel1_disabled = 2; /* Enable 2x refresh mode */ diff --git a/src/mainboard/google/jecht/spd/spd.c b/src/mainboard/google/jecht/spd/spd.c index f4454b8fa536..102ba4933e6b 100644 --- a/src/mainboard/google/jecht/spd/spd.c +++ b/src/mainboard/google/jecht/spd/spd.c @@ -7,9 +7,7 @@ void mainboard_fill_spd_data(struct pei_data *pei_data) { pei_data->spd_addresses[0] = 0xa0; - pei_data->spd_addresses[1] = 0x00; pei_data->spd_addresses[2] = 0xa4; - pei_data->spd_addresses[3] = 0x00; pei_data->dimm_channel0_disabled = 2; pei_data->dimm_channel1_disabled = 2; // Enable 2x refresh mode |