summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2017-06-08 11:45:40 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-04 10:37:52 -0400
commitc5d471ae1421449c450c3bafa77beac5363b869c (patch)
tree9005d8f3f68f822bfa2bce0a27e6ceb923640345 /src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H
parent2ea02ce97d449aaf0c3cacdbf86941f7e0c0a4fe (diff)
downloadtalos-hostboot-c5d471ae1421449c450c3bafa77beac5363b869c.tar.gz
talos-hostboot-c5d471ae1421449c450c3bafa77beac5363b869c.zip
L3 update -- p9_sbe_load_bootloader
Change-Id: Ia0cb15dc2f6d8dfcfc8e9696a2878fce6a01ccbb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42673 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: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42678 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H41
1 files changed, 18 insertions, 23 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 0f6a95413..02cec4126 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
@@ -22,32 +22,24 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
-//------------------------------------------------------------------------------------
-//
+
+///
/// @file p9_sbe_hb_structures.H
-/// @brief Structures that the SBE and HB will both use
-//
-// *HWP HWP Owner: Joshua Hannan jlhannan@us.ibm.com
+/// @brief Structures shared between SBE/HB code
+///
+
+// *HWP HWP Owner: Joe McGill jmcgill@us.ibm.com
// *HWP FW Owner: Thi Tran thi@us.ibm.com
// *HWP Team: Nest
// *HWP Level: 3
// *HWP Consumed by: SBE, HB
-//-----------------------------------------------------------------------------------
#ifndef _SBE_HB_STRUCTURES_H_
#define _SBE_HB_STRUCTURES_H_
-//-----------------------------------------------------------------------------------
-// Includes
-//-----------------------------------------------------------------------------------
-
-//-----------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
// Structure definitions
-//-----------------------------------------------------------------------------------
-
-//-----------------------------------------------------------------------------------
-// Constant definitions
-//-----------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
// Used for version checking as the BootloaderConfigData_t structure changes
enum SbeBootloaderVersion
@@ -78,16 +70,19 @@ union BootloaderSecureSettings
// maintain compatibility with Hostboot
struct BootloaderConfigData_t
{
- uint32_t version; // bytes 4:7 Version field so we know if there is new data being added
- uint8_t sbeBootSide; // byte 8 0=SBE side 0, 1=SBE side 1 [ATTR_SBE_BOOT_SIDE]
- uint8_t pnorBootSide; // byte 9 0=PNOR side A, 1=PNOR side B [ATTR_PNOR_BOOT_SIDE]
- uint16_t pnorSizeMB; // bytes 10:11 Size of PNOR in MB [ATTR_PNOR_SIZE]
- uint64_t blLoadSize; // bytes 12:19 Size of Load (Exception vectors and Bootloader)
+ uint32_t version; // bytes 4:7 Version identifier
+ uint8_t sbeBootSide; // byte 8 0=SBE side 0, 1=SBE side 1
+ // [ATTR_SBE_BOOT_SIDE]
+ uint8_t pnorBootSide; // byte 9 0=PNOR side A, 1=PNOR side B
+ // [ATTR_PNOR_BOOT_SIDE]
+ uint16_t pnorSizeMB; // bytes 10:11 Size of PNOR in MB
+ // [ATTR_PNOR_SIZE]
+ uint64_t blLoadSize; // bytes 12:19 Size of Load
+ // Exception vectors and Bootloader
BootloaderSecureSettings secureSettings ; // byte 20
uint8_t reserved[7]; // bytes 21:27 Reserved space to maintain 64-bit alignment
uint64_t xscomBAR; // bytes 28:35 XSCOM MMIO BAR
uint64_t lpcBAR; // bytes 36:43 LPC MMIO BAR
}; // Note: Want to use '__attribute__((packed))' but compiler won't let us
-
-#endif
+#endif // _SBE_HB_STRUCTURES_H_
OpenPOWER on IntegriCloud