summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2015-01-05 10:47:00 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-13 12:19:25 +0200
commitdaf6d412cc79c79d781e93647036f511f4c6cfec (patch)
treeec3457ad1068a1f079719454e9adc86c2b58817c
parentfb3ea74f9a1cf6a1e8fa32466457889c965f45ab (diff)
downloadcoreboot-daf6d412cc79c79d781e93647036f511f4c6cfec.tar.xz
broadwell: Enable double self refresh by default
Rather than enable this in every mainboard just enable it by default for all broadwell devices and let a specific mainboard disable it if needed. BUG=chrome-os-partner:34420 BRANCH=samus,auron TEST=build and boot on samus Change-Id: I6e47c20abf29abfbd1f4b7905914b4c9fadb0ae7 Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: 25d3a685893e1c85f7b78e302da3187947a1f84f Original-Change-Id: I26d9f2e2a12d3f2f888ecb5af0d949eec5928f57 Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/238400 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9590 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/soc/intel/broadwell/pei_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/pei_data.c b/src/soc/intel/broadwell/pei_data.c
index b87202f02d..180f0caf8e 100644
--- a/src/soc/intel/broadwell/pei_data.c
+++ b/src/soc/intel/broadwell/pei_data.c
@@ -45,4 +45,5 @@ void broadwell_fill_pei_data(struct pei_data *pei_data)
pei_data->tseg_size = smm_region_size();
pei_data->temp_mmio_base = EARLY_TEMP_MMIO;
pei_data->tx_byte = &send_to_console;
+ pei_data->ddr_refresh_2x = 1;
}