summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-03 21:31:17 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-12 10:08:09 +0000
commit1be9f5841dabd42a740fe23a77ea128fa8d0835d (patch)
treefc6fc827590eb83ca9ceea1091b65c123a37f045 /src/mainboard/supermicro
parent6c8e4dd87b334140b0b30420389931caec3c1c22 (diff)
downloadcoreboot-1be9f5841dabd42a740fe23a77ea128fa8d0835d.tar.xz
haswell: Introduce ENABLE_DDR_2X_REFRESH Kconfig option
This Kconfig symbol allows doubling the memory's refresh rate, assuming that the MRC actually cares about it. It is disabled by default except on the mainboards which explicitly enabled this setting in `pei_data`. Change-Id: I6318dad0350d1c506c67f9d117d0ae8dad871281 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43122 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'src/mainboard/supermicro')
-rw-r--r--src/mainboard/supermicro/x10slm-f/Kconfig3
-rw-r--r--src/mainboard/supermicro/x10slm-f/romstage.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/x10slm-f/Kconfig b/src/mainboard/supermicro/x10slm-f/Kconfig
index e0cefcefb7..dde9bc16f7 100644
--- a/src/mainboard/supermicro/x10slm-f/Kconfig
+++ b/src/mainboard/supermicro/x10slm-f/Kconfig
@@ -29,4 +29,7 @@ config MAINBOARD_PART_NUMBER
string
default "X10SLM+-F"
+config ENABLE_DDR_2X_REFRESH
+ default y
+
endif
diff --git a/src/mainboard/supermicro/x10slm-f/romstage.c b/src/mainboard/supermicro/x10slm-f/romstage.c
index 8c383802e4..ddef657d41 100644
--- a/src/mainboard/supermicro/x10slm-f/romstage.c
+++ b/src/mainboard/supermicro/x10slm-f/romstage.c
@@ -24,7 +24,6 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->spd_addresses[2] = 0xa4;
pei_data->spd_addresses[3] = 0xa6;
pei_data->ec_present = 0;
- pei_data->ddr_refresh_2x = 1;
struct usb2_port_setting usb2_ports[MAX_USB2_PORTS] = {
/* Length, Enable, OCn#, Location */