Skip to content

Commit dcaa45b

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 9c01b7e commit dcaa45b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
#define IRONSIDE_BOOT_REPORT_LOCAL_DOMAIN_CONTEXT_SIZE (16UL)
117117
/** Length of the random data buffer in bytes. */
118118
#define IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE (32UL)
119+
/** Length of the uuid buffer in bytes. */
120+
#define IRONSIDE_BOOT_REPORT_UUID_SIZE (16UL)
121+
/** Length of the hwrevision buffer in bytes. */
122+
#define IRONSIDE_BOOT_REPORT_HWREVISION_SIZE (4UL)
119123

120124
/** @brief Initialization/boot status description contained in the boot report. */
121125
struct ironside_boot_report_init_status {
@@ -207,8 +211,12 @@ struct ironside_boot_report {
207211
struct ironside_boot_report_init_context init_context;
208212
/** CSPRNG data */
209213
uint8_t random_data[IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE];
214+
/** Device Info data : 128-bit Universally Unique IDentifier (UUID) */
215+
uint8_t device_info_uuid[IRONSIDE_BOOT_REPORT_UUID_SIZE];
216+
/** Device Info data : hardware revision */
217+
uint8_t device_info_hwrevision[IRONSIDE_BOOT_REPORT_HWREVISION_SIZE];
210218
/** Reserved for Future Use */
211-
uint32_t rfu2[64];
219+
uint32_t rfu2[59];
212220
};
213221

214222
/**

0 commit comments

Comments
 (0)