diff --git a/sw/device/tests/rstmgr_alert_info_test.c b/sw/device/tests/rstmgr_alert_info_test.c index 62b1b8cf26ff1c..a24c3de68b8b87 100644 --- a/sw/device/tests/rstmgr_alert_info_test.c +++ b/sw/device/tests/rstmgr_alert_info_test.c @@ -701,6 +701,12 @@ static void init_expected_cause(void) { .alert_info.alert_cause[kTopEarlgreyAlertIdI2c0FatalFault] = 1; kExpectedInfo[kRound3] .alert_info.alert_cause[kTopEarlgreyAlertIdSpiHost0FatalFault] = 1; + + if (kBootStage == kBootStageOwner && + (kDeviceType == kDeviceFpgaCw310 || kDeviceType == kDeviceFpgaCw340)) { + kExpectedInfo[kRound3] + .alert_info.alert_cause[kTopEarlgreyAlertIdFlashCtrlFatalErr] = 1; + } } bool test_main(void) { uint32_t event_idx = 0; @@ -805,7 +811,7 @@ bool test_main(void) { CHECK_DIF_OK(dif_alert_handler_irq_set_enabled( &alert_handler, kDifAlertHandlerIrqClassb, kDifToggleEnabled)); } else { - LOG_INFO("Skipping OTP test due to ROM_EXT"); + LOG_INFO("Skipping OTP test due to ROM_EXT ePMP configuration"); } CHECK_DIF_OK(dif_alert_handler_irq_set_enabled( &alert_handler, kDifAlertHandlerIrqClassc, kDifToggleEnabled));