diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2017-07-19 12:02:00 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-07-26 00:15:49 -0400 |
commit | 4282b36da43457988eb261923aa7da2adb7a8f43 (patch) | |
tree | 8355ac827f865b9a6a0a8823f5cd4c0a90b70301 /src/usr/i2c | |
parent | 8c38babde5c9ca518817c54d05ac2179708f0eef (diff) | |
download | talos-hostboot-4282b36da43457988eb261923aa7da2adb7a8f43.tar.gz talos-hostboot-4282b36da43457988eb261923aa7da2adb7a8f43.zip |
Enable Secure Mode in standalone simics
Change-Id: Icd5f1b3111f4726c01c60c8e0899d4e42f7f9131
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43336
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/i2c')
-rwxr-xr-x | src/usr/i2c/test/eepromddtest.H | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/usr/i2c/test/eepromddtest.H b/src/usr/i2c/test/eepromddtest.H index 6ab6bd6d2..228c0090c 100755 --- a/src/usr/i2c/test/eepromddtest.H +++ b/src/usr/i2c/test/eepromddtest.H @@ -42,6 +42,8 @@ #include "i2ctest.H" #include "../eepromdd.H" +#include <secureboot/service.H> + extern trace_desc_t* g_trac_eeprom; // NOTE: TRACUCOMP defined/controlled in i2ctest.H @@ -104,8 +106,9 @@ class EEPROMTest: public CxxTest::TestSuite const uint32_t NUM_CMDS = sizeof(testData)/sizeof(testData[0]); - // Skipping EEPROM test altogether in VBU/VPO environment - if( TARGETING::is_vpo() ) + // Skipping EEPROM test altogether in VBU/VPO environment or in + // Secure mode + if( TARGETING::is_vpo() || SECUREBOOT::enabled() ) { return; } @@ -247,8 +250,9 @@ class EEPROMTest: public CxxTest::TestSuite TRACFCOMP( g_trac_eeprom, "testEEPROMReadWriteLarge - Start" ); - // Skipping EEPROM test altogether in VBU/VPO environment - if( TARGETING::is_vpo() ) + // Skipping EEPROM test altogether in VBU/VPO environment or in + // Secure mode + if( TARGETING::is_vpo() || SECUREBOOT::enabled() ) { return; } |