1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-26 11:42:09 +00:00

l4t: allow exFAT as boot drive

Allow exFAT support of boot partition.
For newer bl33 (U-Boot >= 2024-NX02).
Old ones will just fail to load the boot script in such cases.
This commit is contained in:
CTCaer 2024-02-16 15:59:30 +02:00
parent be3297ae1f
commit abeafb9a67

View file

@ -34,8 +34,8 @@
* 2: Arachne Register Cell v1. * 2: Arachne Register Cell v1.
* 3: Arachne Register Cell v2. PTSA Rework support. * 3: Arachne Register Cell v2. PTSA Rework support.
*/ */
#define L4T_LOADER_API_REV 3 #define L4T_LOADER_API_REV 4
#define L4T_FIRMWARE_REV 0x33524556 // REV3. #define L4T_FIRMWARE_REV 0x34524556 // REV4.
#ifdef DEBUG_UART_PORT #ifdef DEBUG_UART_PORT
#include <soc/uart.h> #include <soc/uart.h>
@ -944,13 +944,6 @@ void launch_l4t(const ini_sec_t *ini_sec, int entry_idx, int is_list, bool t210b
return; return;
} }
// U-BOOT does not support exfat.
if (sd_fs.fs_type == FS_EXFAT)
{
_l4t_crit_error("exFAT not supported", false);
return;
}
// Load BL31 (ATF/TrustZone fw). // Load BL31 (ATF/TrustZone fw).
if (!_l4t_sd_load(BL31_FW)) if (!_l4t_sd_load(BL31_FW))
{ {