]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/fat.h
ARM: HYP/non-sec: remove MIDR check to validate CBAR
[karo-tx-uboot.git] / include / fat.h
index 81d9790420d8057d0a8e3d1f5e22a6474c89cccd..63cf78779bd585d18516519593f4e86455bdf68c 100644 (file)
 #define VFAT_MAXSEQ            9   /* Up to 9 of 13 2-byte UTF-16 entries */
 #define PREFETCH_BLOCKS                2
 
-#define MAX_CLUSTSIZE  65536
+#ifndef CONFIG_FS_FAT_MAX_CLUSTSIZE
+#define CONFIG_FS_FAT_MAX_CLUSTSIZE 65536
+#endif
+#define MAX_CLUSTSIZE  CONFIG_FS_FAT_MAX_CLUSTSIZE
+
 #define DIRENTSPERBLOCK        (mydata->sect_size / sizeof(dir_entry))
 #define DIRENTSPERCLUST        ((mydata->clust_size * mydata->sect_size) / \
                         sizeof(dir_entry))