From: Alexey Brodkin <abrodkin@synopsys.com>
Date: Tue, 8 Oct 2019 10:25:30 +0000 (+0300)
Subject: arc: emsdp: Increase max FAT cluster size
X-Git-Tag: v2025.01-rc5-pxa1908~2717^2~5
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=9f353ad88a92815958505c54388b5783f46d9d67;p=u-boot.git

arc: emsdp: Increase max FAT cluster size

Some especially large SD-cards come from stock formatted with
larger FAT cluster size so to accommodate those we just increase
what we expect to have here in U-Boot given we have a plenty of
space on EM SDP (16 MiB).

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---

diff --git a/configs/emsdp_defconfig b/configs/emsdp_defconfig
index 5e55e3e2b2..1eca23fa95 100644
--- a/configs/emsdp_defconfig
+++ b/configs/emsdp_defconfig
@@ -27,6 +27,6 @@ CONFIG_MMC=y
 CONFIG_MMC_DW=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
-CONFIG_FS_FAT_MAX_CLUSTSIZE=4096
+CONFIG_FS_FAT_MAX_CLUSTSIZE=32768
 CONFIG_USE_PRIVATE_LIBGCC=y
 CONFIG_PANIC_HANG=y