On Sun, Sep 23, 2018 at 04:42:17PM +0200, Alexander Graf wrote: > > > On 12.09.18 08:55, Akashi, Takahiro wrote: > > From: AKASHI Takahiro <takahiro.aka...@linaro.org> > > > > The whole content of include/fat.h should be guarded with CONFIG_FS_FAT. > > > > This is necessary specifically because fs/fs.c unconditionally includes > > fat.h, which refers to a config symbol, CONFIG_FS_FAT_MAX_CLUSTSIZE. > > So if CONFIG_FS_FAT, and thus CONFIG_FS_FAT_MAX_CLUSTSIZE, is not > > defined, fs/fs.c will fail to compile. > > I don't see that define used anywhere outside of FAT code, so I still > don't understand why we need this patch.
Try to compile u-boot without CONFIG_FS_FAT. You will find out what I (and originally Heinrich) meant. Thanks, -Takahiro Akashi > > Alex _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot