diff options
author | Raja Das <rajadas2@in.ibm.com> | 2017-02-03 03:33:48 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-08-11 23:38:50 -0400 |
commit | d44be9cdaba13d30715c8bf44e2b7b03b38098c2 (patch) | |
tree | f492d99e7a7aef3363b31982fd0962e309df76db /src/import/chips/p9/procedures/hwp/nest/p9_sbe_hb_structures.H | |
parent | 83106d523962a1d20b0216ebb4c3cb8ad8348fbd (diff) | |
download | talos-sbe-d44be9cdaba13d30715c8bf44e2b7b03b38098c2.tar.gz talos-sbe-d44be9cdaba13d30715c8bf44e2b7b03b38098c2.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/35889
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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.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 3380044a..2a4ca38c 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_ |