boot: fix abort on < 3.0.0

This commit is contained in:
Michael Scire 2019-05-09 03:20:06 -07:00
parent 1456246f60
commit 00db1dc286

View File

@ -90,7 +90,7 @@ void Boot::DetectBootReason() {
g_boot_reason = MakeBootReason(power_intr, rtc_intr & ~rtc_intr_m, nv_erc, ac_ok);
/* Set boot reason for SPL. */
{
if (GetRuntimeFirmwareVersion() >= FirmwareVersion_300) {
BootReasonValue boot_reason_value;
boot_reason_value.power_intr = power_intr;
boot_reason_value.rtc_intr = rtc_intr & ~rtc_intr_m;