X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Ffat.h;h=afb2116e8e6de29a54db6bac1bc2781ae76d1af8;hb=cf1971c1c0a76c3105a347102db083027a3d7b91;hp=de48afd730654630f7e7fc803a2ca017feb575a0;hpb=9efac4a1eb99d9c5539aa6992025eeacab7980c6;p=u-boot diff --git a/include/fat.h b/include/fat.h index de48afd730..afb2116e8e 100644 --- a/include/fat.h +++ b/include/fat.h @@ -30,6 +30,10 @@ #include #define CONFIG_SUPPORT_VFAT +/* Maximum Long File Name length supported here is 128 UTF-16 code units */ +#define VFAT_MAXLEN_BYTES 256 /* Maximum LFN buffer in bytes */ +#define VFAT_MAXSEQ 9 /* Up to 9 of 13 2-byte UTF-16 entries */ +#define LINEAR_PREFETCH_SIZE (SECTOR_SIZE*2) /* Prefetch buffer size */ #define SECTOR_SIZE FS_BLOCK_SIZE