diff options
| author | Raja Das <rajadas2@in.ibm.com> | 2017-02-03 03:33:48 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-11 15:23:52 -0400 |
| commit | f872a41a9d1551903f3f1caf94852e92576cd019 (patch) | |
| tree | 751a4c520bd803ae0efb110bb149bd207b4902c2 /src | |
| parent | bd73e780068f580a8c7a0197fdda0a4eb02b0563 (diff) | |
| download | blackbird-hostboot-f872a41a9d1551903f3f1caf94852e92576cd019.tar.gz blackbird-hostboot-f872a41a9d1551903f3f1caf94852e92576cd019.zip | |
Update p9_sbe_load_bootloader Hwp to receive the addr-key stash-2
Change-Id: Id27b43085d1619bc9cfbe854dc46eac6ee85e170
RTC:166124
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35883
Reviewed-by: Sachin Gupta <sgupta2m@in.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: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36788
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-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')
| -rw-r--r-- | src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H | 12 |
1 files changed, 12 insertions, 0 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 02cec4126..ede54cff0 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 @@ -40,6 +40,16 @@ //------------------------------------------------------------------------------ // Structure definitions //------------------------------------------------------------------------------ +// Max Pairs +#define MAX_ROW_COUNT 8 + +// To keep all the Stashed Keys & Addrs together within this struct +typedef struct __attribute__((packed)) +{ + uint8_t key[MAX_ROW_COUNT]; + uint64_t addr[MAX_ROW_COUNT]; +} +keyAddrPair_t; // Used for version checking as the BootloaderConfigData_t structure changes enum SbeBootloaderVersion @@ -49,6 +59,7 @@ enum SbeBootloaderVersion // Later versions use format [release:2][version:2] SAB_ADDED = 0x00090002, MMIO_BARS_ADDED = 0x00090003, + ADDR_STASH_SUPPORT_ADDED = 0x00090004, }; union BootloaderSecureSettings @@ -83,6 +94,7 @@ struct BootloaderConfigData_t 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 + keyAddrPair_t pair; // total of 72 Bytes (8+8*8) for Key/Addr Pair }; // Note: Want to use '__attribute__((packed))' but compiler won't let us #endif // _SBE_HB_STRUCTURES_H_ |

