summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-02-27 15:37:47 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-10 16:44:44 -0500
commit274fa593dad76e390d1c37129862c4a8dcde4f02 (patch)
treeee56ba6145696af1805a3192c32554353695d2f4
parent6f2f153d6b5132a5604ce068be8ac8cf4cb7b14e (diff)
downloadtalos-hostboot-274fa593dad76e390d1c37129862c4a8dcde4f02.tar.gz
talos-hostboot-274fa593dad76e390d1c37129862c4a8dcde4f02.zip
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>
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H b/src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H
index 9fe1dc985..c486e0088 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -49,6 +49,15 @@
// Constant definitions
//-----------------------------------------------------------------------------------
+// Used for version checking as the BootloaderConfigData_t structure changes
+enum SbeBootloaderVersion
+{
+ // Keep initial version formatted as it was originally
+ INIT = 0x901,
+ // Later versions use format [release:2][version:2]
+ SAB_ADDED = 0x00090002
+};
+
// Structure starts at the bootloader zero address
struct BootloaderConfigData_t
{
@@ -57,6 +66,7 @@ struct BootloaderConfigData_t
uint8_t pnorBootSide; // 0=PNOR side A, 1=PNOR side B [ATTR_PNOR_BOOT_SIDE]
uint16_t pnorSizeMB; // Size of PNOR in MB [ATTR_PNOR_SIZE]
uint64_t blLoadSize; // Size of Load (Exception vectors and Bootloader)
+ uint8_t secureAccessBit;
};
#endif
OpenPOWER on IntegriCloud