aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/mma.c
diff options
context:
space:
mode:
authorPratik Prajapati <pratikkumar.v.prajapati@intel.com>2016-04-11 16:44:15 -0700
committerPatrick Georgi <pgeorgi@google.com>2016-05-10 22:59:58 +0200
commitad8c35c8eee347e7f8f987655538ee0a7850da64 (patch)
tree35e88083b3bcd3ca5df7615fa4ecbe813b245ca6 /src/soc/intel/common/mma.c
parentde62e0f079dc9e7803587d4e587f8f8cd2a1c9aa (diff)
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 <pgeorgi@chromium.org> Original-Commit-Id: 4b16b756d9a74c9111c78fce848b059daee65669 Original-Change-Id: I4c4a59407844e1986fa2cf3a0035aff1d8529cf9 Original-Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/339002 Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Original-(cherry picked from commit c43d9880fe4efd1e1bb853d35140424fb7dd7e99) Original-Reviewed-on: https://chromium-review.googlesource.com/338847 Original-Commit-Ready: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com> Original-Tested-by: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com> Original-Reviewed-by: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com> Reviewed-on: https://review.coreboot.org/14697 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/mma.c')
-rw-r--r--src/soc/intel/common/mma.c4
1 files changed, 4 insertions, 0 deletions
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");
}