From ad8c35c8eee347e7f8f987655538ee0a7850da64 Mon Sep 17 00:00:00 2001 From: Pratik Prajapati Date: Mon, 11 Apr 2016 16:44:15 -0700 Subject: intel/common/mma: override SAGV to fixed high for MMA tests Set SAGV to 2 (Fixed High) so that MMA test would stress memory at high freq point. MMA tests does not support stressing memory at both high and low points. BRANCH=glados BUG=chrome-os-partner:43731 TEST=Build and Boot kunimitsu and ran MMA tests. Change-Id: I0b2f6cf9955076f6146b957c4d40fe24e6c3f0e7 Signed-off-by: Patrick Georgi Original-Commit-Id: 4b16b756d9a74c9111c78fce848b059daee65669 Original-Change-Id: I4c4a59407844e1986fa2cf3a0035aff1d8529cf9 Original-Signed-off-by: Pratik Prajapati Original-Reviewed-on: https://chromium-review.googlesource.com/339002 Original-Reviewed-by: Duncan Laurie Original-(cherry picked from commit c43d9880fe4efd1e1bb853d35140424fb7dd7e99) Original-Reviewed-on: https://chromium-review.googlesource.com/338847 Original-Commit-Ready: Pratikkumar V Prajapati Original-Tested-by: Pratikkumar V Prajapati Original-Reviewed-by: Pratikkumar V Prajapati Reviewed-on: https://review.coreboot.org/14697 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/intel/common/mma.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/soc/intel/common/mma.c') diff --git a/src/soc/intel/common/mma.c b/src/soc/intel/common/mma.c index b044b00ce3..87d8e5c75f 100644 --- a/src/soc/intel/common/mma.c +++ b/src/soc/intel/common/mma.c @@ -204,6 +204,7 @@ void setup_mma(MEMORY_INIT_UPD *memory_params) memory_params->MmaTestConfigPtr = (uintptr_t) mma_test_param; memory_params->MmaTestConfigSize = mma_test_param_file_len; memory_params->MrcFastBoot = 0x00; + memory_params->SaGv = 0x02; printk(BIOS_DEBUG, "MMA Test name %s\n", test_filename); printk(BIOS_DEBUG, "MMA Test Config name %s\n", test_param_filename); @@ -218,6 +219,9 @@ void setup_mma(MEMORY_INIT_UPD *memory_params) memory_params->MmaTestConfigSize); printk(BIOS_DEBUG, "memory_params->MrcFastBoot = %d\n", memory_params->MrcFastBoot); + printk(BIOS_DEBUG, "memory_params->SaGv = %d\n", + memory_params->SaGv); + printk(BIOS_DEBUG, "MMA setup successfully\n"); } -- cgit v1.2.3