Skip to content

Commit 274fa59

Browse files
Stephen Cprekdcrowell77
authored andcommitted
Add Secure Access Bit to Bootloader Config Data
RTC: 167741 Change-Id: I2708ad1da5ccca19ad2703e0944e9146de866f14 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37123 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37129 Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
1 parent 6f2f153 commit 274fa59

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/* */
66
/* OpenPOWER HostBoot Project */
77
/* */
8-
/* Contributors Listed Below - COPYRIGHT 2016 */
8+
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
99
/* [+] International Business Machines Corp. */
1010
/* */
1111
/* */
@@ -49,6 +49,15 @@
4949
// Constant definitions
5050
//-----------------------------------------------------------------------------------
5151

52+
// Used for version checking as the BootloaderConfigData_t structure changes
53+
enum SbeBootloaderVersion
54+
{
55+
// Keep initial version formatted as it was originally
56+
INIT = 0x901,
57+
// Later versions use format [release:2][version:2]
58+
SAB_ADDED = 0x00090002
59+
};
60+
5261
// Structure starts at the bootloader zero address
5362
struct BootloaderConfigData_t
5463
{
@@ -57,6 +66,7 @@ struct BootloaderConfigData_t
5766
uint8_t pnorBootSide; // 0=PNOR side A, 1=PNOR side B [ATTR_PNOR_BOOT_SIDE]
5867
uint16_t pnorSizeMB; // Size of PNOR in MB [ATTR_PNOR_SIZE]
5968
uint64_t blLoadSize; // Size of Load (Exception vectors and Bootloader)
69+
uint8_t secureAccessBit;
6070
};
6171

6272
#endif

0 commit comments

Comments
 (0)