Skip to content

Commit d5c8d01

Browse files
committed
[ot] hw/riscv: ot_darjeeling, ot_earlgrey: configure life cycle controller constants
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
1 parent c5ae6fd commit d5c8d01

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

hw/riscv/ot_darjeeling.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,9 @@ static const IbexDeviceDef ot_dj_soc_devices[] = {
11891189
IBEX_DEV_UINT_PROP("product_id", 0x4000u),
11901190
IBEX_DEV_UINT_PROP("revision_id", 0x1u),
11911191
IBEX_DEV_BOOL_PROP("volatile_raw_unlock", true),
1192-
IBEX_DEV_UINT_PROP("kmac-app", 1u)
1192+
IBEX_DEV_UINT_PROP("kmac-app", 1u),
1193+
IBEX_DEV_STRING_PROP("raw_unlock_token",
1194+
"ea2b3f32cbe77554e43c8ea7ebf197c2")
11931195
)
11941196
},
11951197
[OT_DJ_SOC_DEV_ALERT_HANDLER] = {

hw/riscv/ot_earlgrey.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,9 @@ static const IbexDeviceDef ot_eg_soc_devices[] = {
579579
IBEX_DEV_UINT_PROP("product_id", 0x0002u),
580580
IBEX_DEV_UINT_PROP("revision_id", 0x1u),
581581
IBEX_DEV_BOOL_PROP("volatile_raw_unlock", true),
582-
IBEX_DEV_UINT_PROP("kmac-app", 1u)
582+
IBEX_DEV_UINT_PROP("kmac-app", 1u),
583+
IBEX_DEV_STRING_PROP("raw_unlock_token",
584+
"ea2b3f32cbe77554e43c8ea7ebf197c2")
583585
)
584586
},
585587
[OT_EG_SOC_DEV_ALERT_HANDLER] = {

0 commit comments

Comments
 (0)