mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 03:11:16 +00:00
sept: Remove support for obsolete no _00/01 suffix
This commit is contained in:
parent
157e415636
commit
4d8dbe068d
2 changed files with 3 additions and 6 deletions
|
@ -107,7 +107,6 @@ void check_sept(ini_sec_t *cfg_sec)
|
|||
const pkg1_id_t *pkg1_id = pkg1_identify(pkg1);
|
||||
if (!pkg1_id)
|
||||
{
|
||||
gfx_con.fntsz = 16;
|
||||
EPRINTF("Unknown pkg1 version.");
|
||||
goto out_free;
|
||||
}
|
||||
|
@ -172,8 +171,7 @@ int reboot_to_sept(const u8 *tsec_fw, u32 kb, ini_sec_t *cfg_sec)
|
|||
if (kb < KB_FIRMWARE_VERSION_810)
|
||||
{
|
||||
if (f_open(&fp, "sept/sept-secondary_00.enc", FA_READ))
|
||||
if (f_open(&fp, "sept/sept-secondary.enc", FA_READ)) // Try the deprecated version.
|
||||
goto error;
|
||||
goto error;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -93,6 +93,7 @@ void check_sept()
|
|||
EPRINTF("Failed to init eMMC.");
|
||||
goto out_free;
|
||||
}
|
||||
|
||||
sdmmc_storage_set_mmc_partition(&storage, EMMC_BOOT0);
|
||||
|
||||
// Read package1.
|
||||
|
@ -102,7 +103,6 @@ void check_sept()
|
|||
free(build_date);
|
||||
if (!pkg1_id)
|
||||
{
|
||||
gfx_con.fntsz = 16;
|
||||
EPRINTF("Unknown pkg1 version.");
|
||||
goto out_free;
|
||||
}
|
||||
|
@ -153,8 +153,7 @@ int reboot_to_sept(const u8 *tsec_fw, u32 kb)
|
|||
if (kb < KB_FIRMWARE_VERSION_810)
|
||||
{
|
||||
if (f_open(&fp, "sept/sept-secondary_00.enc", FA_READ))
|
||||
if (f_open(&fp, "sept/sept-secondary.enc", FA_READ)) // Try the deprecated version.
|
||||
goto error;
|
||||
goto error;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue