diff options
| author | Marty Gloff <mgloff@us.ibm.com> | 2016-08-15 16:42:48 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-09-14 11:57:48 -0400 |
| commit | 6fb94b1d7cd67d0d8f7ad0b066d36a826bccebb7 (patch) | |
| tree | 9701a0c1535093b533a09e1876c1bd1ca32ff270 /src/include | |
| parent | ce16a4cdde7e39aad38446c13ea31a018c720c04 (diff) | |
| download | talos-hostboot-6fb94b1d7cd67d0d8f7ad0b066d36a826bccebb7.tar.gz talos-hostboot-6fb94b1d7cd67d0d8f7ad0b066d36a826bccebb7.zip | |
Insert bootloader image into SBE SEEPROM
4) Bootloader-related changes associated with Story 138226: Changes
for P9 SBE.
Change-Id: If9788c3bb2b56fbbaf4f668a1e153da79ad1757f
RTC: 139757
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28276
Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/usr/sbe/sbeif.H | 19 | ||||
| -rw-r--r-- | src/include/usr/sbe/sbereasoncodes.H | 3 |
2 files changed, 18 insertions, 4 deletions
diff --git a/src/include/usr/sbe/sbeif.H b/src/include/usr/sbe/sbeif.H index ff397cae3..27e99175b 100644 --- a/src/include/usr/sbe/sbeif.H +++ b/src/include/usr/sbe/sbeif.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2015 */ +/* Contributors Listed Below - COPYRIGHT 2013,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -55,11 +55,26 @@ namespace SBE * @return errlHndl_t Error log handle on failure. */ errlHndl_t findSBEInPnor(TARGETING::Target* i_target, - void*& o_imgPt, + void*& o_imgPtr, size_t& o_imgSize, sbe_image_version_t* o_version = NULL); /** + * @brief Gets a pointer to the HBBL image in PNOR + * + * @param[out] o_imgPtr Pointer to HBBL Image mapped in PNOR + * Note: Pointer moved past any header(s) + * + * @param[out] o_imgSize Size of the HBBL Image in PNOR + * Note: Size does not include any header(s) + * + * @return errlHndl_t Error log handle on failure. + */ + errlHndl_t findHBBLInPnor(void*& o_imgPtr, + size_t& o_imgSize); + + + /** * @enum sbeUpdateCheckType * * @brief Determines what types of checks are performed on the SBE Seeproms diff --git a/src/include/usr/sbe/sbereasoncodes.H b/src/include/usr/sbe/sbereasoncodes.H index 380f6b909..d8e9dc161 100644 --- a/src/include/usr/sbe/sbereasoncodes.H +++ b/src/include/usr/sbe/sbereasoncodes.H @@ -100,8 +100,7 @@ enum sbeReasonCode SBE_MASTER_VERSION_DOWNLEVEL = SBE_COMP_ID | 0x15, SBE_IMAGE_GET_SET_SCALAR_FAIL = SBE_COMP_ID | 0x16, - HBBL_INVALID_INPUT = SBE_COMP_ID | 0x17, - HBBL_INVALID_INSTRUCTION = SBE_COMP_ID | 0x18, + HBBL_END_DATA_NOT_FOUND = SBE_COMP_ID | 0x17, }; |

