Attest: Get device claims from boot status
Boot status might contain general attributes of the device,
which does not belongs to any SW components:
- boot seed
- HW version
- security lifecycle
These device attributes might be provided by bootloader or runtime
software. They are retrieved from boot status if presents, if does
not then callback function is called to get them from runtime
software.
Change-Id: I2e803d19fc15620f07d29ef028bfc794cecc861f
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/bl2/include/tfm_boot_status.h b/bl2/include/tfm_boot_status.h
index ca1679a..dbcc6ce 100644
--- a/bl2/include/tfm_boot_status.h
+++ b/bl2/include/tfm_boot_status.h
@@ -88,12 +88,12 @@
* component. But they might be part of the boot status.
*/
#define BOOT_SEED 0x00
-#define HW_ID 0x01
+#define HW_VERSION 0x01
#define SECURITY_LIFECYCLE 0x02
/* Minor numbers (12 bit) to identify attestation service related data */
#define TLV_MINOR_IAS_BOOT_SEED ((SW_GENERAL << 6) | BOOT_SEED)
-#define TLV_MINOR_IAS_HW_ID ((SW_GENERAL << 6) | HW_ID)
+#define TLV_MINOR_IAS_HW_VERSION ((SW_GENERAL << 6) | HW_VERSION)
#define TLV_MINOR_IAS_SLC ((SW_GENERAL << 6) | SECURITY_LIFECYCLE)
/* Bootloader - It can be more stage */