hos: set proper exo hos version for 12.1.0

Even if 12.0.0 one is api compatible, there was a master key change on 12.1.0.
This commit is contained in:
CTCaer
2023-03-31 09:17:13 +03:00
parent 3c3fcb29f9
commit b1112e0949
2 changed files with 5 additions and 1 deletions

View File

@@ -162,6 +162,10 @@ void config_exosphere(launch_ctxt_t *ctxt, u32 warmboot_base)
else
exo_fw_no = ctxt->pkg1_id->fuses - 1; // 3.0.1 - 7.0.1, 8.0.x.
// Set 12.1.0 specific revision.
if (ctxt->pkg1_id->kb == KB_FIRMWARE_VERSION_1210)
ctxt->exo_ctx.hos_revision = 1;
// Handle 15.0.0+.
if (ctxt->pkg1_id->fuses >= 17)
exo_fw_no++;