boot: update for api changes

This commit is contained in:
Michael Scire 2019-10-16 14:28:19 -07:00 committed by SciresM
parent 635ae4e3da
commit 8d16d2152b
4 changed files with 6 additions and 6 deletions

View file

@ -91,7 +91,7 @@ namespace sts::boot {
g_boot_reason = MakeBootReason(power_intr, rtc_intr & ~rtc_intr_m, nv_erc, ac_ok);
/* Set boot reason for SPL. */
if (GetRuntimeFirmwareVersion() >= FirmwareVersion_300) {
if (hos::GetVersion() >= hos::Version_300) {
BootReasonValue boot_reason_value;
boot_reason_value.power_intr = power_intr;
boot_reason_value.rtc_intr = rtc_intr & ~rtc_intr_m;