diff options
| author | Stephen Cprek <smcprek@us.ibm.com> | 2017-02-06 12:31:42 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-01 14:04:03 -0500 |
| commit | f0d7c809d23c2cf44c0be0ff594c14aff22d6f04 (patch) | |
| tree | bbb67150e4e1d2a6309c4bed69ab70473d02e7ce /src/usr/sbe/test | |
| parent | d3d4ae7c89e6b35fffa8857170762992dc3c6538 (diff) | |
| download | blackbird-hostboot-f0d7c809d23c2cf44c0be0ff594c14aff22d6f04.tar.gz blackbird-hostboot-f0d7c809d23c2cf44c0be0ff594c14aff22d6f04.zip | |
Add SecureROM version info and Change SBE update to use max HBBL size
The HBBL also contains the securerom code and hw keys' hash
for verification purposes. So looking for the end of the HBBL
code leaves out those sections
Change-Id: I73a1b5c50e3a5b3f642ca569b90e79dbe4c4ba1e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35979
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbe/test')
| -rw-r--r-- | src/usr/sbe/test/sbeupdatetest.H | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/usr/sbe/test/sbeupdatetest.H b/src/usr/sbe/test/sbeupdatetest.H index 7fd5295f6..e9210b102 100644 --- a/src/usr/sbe/test/sbeupdatetest.H +++ b/src/usr/sbe/test/sbeupdatetest.H @@ -675,54 +675,6 @@ class SBEUpdateTest: public CxxTest::TestSuite } - - /** - * @brief This function will test SBE Update's ability - * to find HBBL images in PNOR - */ - - void testFindHBBLInPnor ( void ) - { - errlHndl_t err = NULL; - uint64_t fails = 0x0; - uint64_t total = 0x0; - - void* hbblImgPtr = NULL; - size_t hbblImgSize = 0; - - do{ - - TRACFCOMP( g_trac_sbe, - ENTER_MRK"testFindHBBLInPnor()" ); - - total++; - err = findHBBLInPnor(hbblImgPtr, - hbblImgSize); - - if(err || (hbblImgPtr == NULL) || (hbblImgSize == 0) ) - { - fails++; - TRACFCOMP( g_trac_sbe, ERR_MRK"testFindHBBLInPnor() - " - "failure finding HBBL image, hbblImgPtr=%p, " - "hbblImgSize=0x%x", - hbblImgPtr, hbblImgSize ); - TS_FAIL("testFindHBBLInPnor() -failure finding HBBL image!"); - errlCommit( err, - SBE_COMP_ID ); - - } - TRACDBIN(g_trac_sbe, "testFindHBBLInPnor()-Proc PNOR Image", - hbblImgPtr, 0x80); - - TRACFCOMP( g_trac_sbe, - EXIT_MRK"testFindHBBLInPnor - %d/%d fails", - fails, total ); - - }while(0); - - } - - /** * @brief This function will run through the functions used to collect * SBE information on a single target, determine if that target |

