From 5284cb4636143bc16ce06c10f40133639e35a3be Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Mon, 27 Mar 2017 08:13:15 -0500 Subject: Read the HW Key Hash from a Processor's SBE Seeprom This commit adds an interface to read the HW Key Hash located in the HBBL section of each Processor's two SBE Seeproms. Change-Id: I906434269746c296c646f7b0594575c58b145294 RTC: 167585 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38465 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Nicholas E. Bofferding Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff Reviewed-by: Stephen M. Cprek Reviewed-by: Daniel M. Crowell --- src/include/bootloader/bootloaderif.H | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include/bootloader') diff --git a/src/include/bootloader/bootloaderif.H b/src/include/bootloader/bootloaderif.H index 6c6486e57..e4d422d20 100644 --- a/src/include/bootloader/bootloaderif.H +++ b/src/include/bootloader/bootloaderif.H @@ -33,6 +33,9 @@ namespace Bootloader{ // Must be aligned CACHELINE_SIZE of 128 bytes #define MAX_HBBL_SIZE (20 * KILOBYTE) +// Location of the HW Key Hash located at the end of the HBBL without ECC +#define HBBL_HW_KEY_HASH_LOCATION (MAX_HBBL_SIZE - sizeof(SHA512_t)) + // Size of exception vector reserved space at start of the HBBL section #define HBBL_EXCEPTION_VECTOR_SIZE (12 * KILOBYTE) @@ -111,4 +114,4 @@ inline bool BlToHbDataValid (const BlToHbData * i_blToHbData) } // end namespace bootloader -#endif \ No newline at end of file +#endif -- cgit v1.2.3