Skip to content

Commit 1bbd819

Browse files
soc: ironside: Add UUID and HWREVISION info to boot report
- UUID and HWREVISION are added to the boot report to make them available to other cores. Signed-off-by: Aymen Laouini <[email protected]>
1 parent dc15a79 commit 1bbd819

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

soc/nordic/ironside/include/nrf_ironside/boot_report.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#define IRONSIDE_BOOT_REPORT_LOCAL_DOMAIN_CONTEXT_SIZE (16UL)
1616
/** Length of the random data buffer in bytes. */
1717
#define IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE (32UL)
18+
/** Length of the uuid buffer in bytes. */
19+
#define SECDOM_BOOT_REPORT_UUID_SIZE (16UL)
20+
/** Length of the hwrevision buffer in bytes. */
21+
#define SECDOM_BOOT_REPORT_HWREVISION_SIZE (4UL)
1822

1923
/** @brief IronSide version structure. */
2024
struct ironside_version {
@@ -59,8 +63,12 @@ struct ironside_boot_report {
5963
uint8_t local_domain_context[IRONSIDE_BOOT_REPORT_LOCAL_DOMAIN_CONTEXT_SIZE];
6064
/** CSPRNG data */
6165
uint8_t random_data[IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE];
62-
/** Reserved for Future Use */
63-
uint32_t rfu[64];
66+
/** Device Info data : 128-bit Universally Unique IDentifier (UUID) */
67+
uint8_t device_info_uuid[SECDOM_BOOT_REPORT_UUID_SIZE];
68+
/** Device Info data : hardware revision */
69+
uint8_t device_info_hwrevision[SECDOM_BOOT_REPORT_HWREVISION_SIZE];
70+
/** Reserved for Future Use */
71+
uint32_t rfu[59];
6472
};
6573

6674
/**

0 commit comments

Comments
 (0)