mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-26 11:42:09 +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);
|
const pkg1_id_t *pkg1_id = pkg1_identify(pkg1);
|
||||||
if (!pkg1_id)
|
if (!pkg1_id)
|
||||||
{
|
{
|
||||||
gfx_con.fntsz = 16;
|
|
||||||
EPRINTF("Unknown pkg1 version.");
|
EPRINTF("Unknown pkg1 version.");
|
||||||
goto out_free;
|
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 (kb < KB_FIRMWARE_VERSION_810)
|
||||||
{
|
{
|
||||||
if (f_open(&fp, "sept/sept-secondary_00.enc", FA_READ))
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -93,6 +93,7 @@ void check_sept()
|
||||||
EPRINTF("Failed to init eMMC.");
|
EPRINTF("Failed to init eMMC.");
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
sdmmc_storage_set_mmc_partition(&storage, EMMC_BOOT0);
|
sdmmc_storage_set_mmc_partition(&storage, EMMC_BOOT0);
|
||||||
|
|
||||||
// Read package1.
|
// Read package1.
|
||||||
|
@ -102,7 +103,6 @@ void check_sept()
|
||||||
free(build_date);
|
free(build_date);
|
||||||
if (!pkg1_id)
|
if (!pkg1_id)
|
||||||
{
|
{
|
||||||
gfx_con.fntsz = 16;
|
|
||||||
EPRINTF("Unknown pkg1 version.");
|
EPRINTF("Unknown pkg1 version.");
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
@ -153,8 +153,7 @@ int reboot_to_sept(const u8 *tsec_fw, u32 kb)
|
||||||
if (kb < KB_FIRMWARE_VERSION_810)
|
if (kb < KB_FIRMWARE_VERSION_810)
|
||||||
{
|
{
|
||||||
if (f_open(&fp, "sept/sept-secondary_00.enc", FA_READ))
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue