From abeafb9a672aa64d208955498b993695550562eb Mon Sep 17 00:00:00 2001 From: CTCaer Date: Fri, 16 Feb 2024 15:59:30 +0200 Subject: [PATCH] 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. --- bootloader/l4t/l4t.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/bootloader/l4t/l4t.c b/bootloader/l4t/l4t.c index 839eb89..75a2f4a 100644 --- a/bootloader/l4t/l4t.c +++ b/bootloader/l4t/l4t.c @@ -34,8 +34,8 @@ * 2: Arachne Register Cell v1. * 3: Arachne Register Cell v2. PTSA Rework support. */ -#define L4T_LOADER_API_REV 3 -#define L4T_FIRMWARE_REV 0x33524556 // REV3. +#define L4T_LOADER_API_REV 4 +#define L4T_FIRMWARE_REV 0x34524556 // REV4. #ifdef DEBUG_UART_PORT #include @@ -944,13 +944,6 @@ void launch_l4t(const ini_sec_t *ini_sec, int entry_idx, int is_list, bool t210b 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). if (!_l4t_sd_load(BL31_FW)) {