fs: Migrate ext4 to Kconfig
PATCH 1/5 fs: Migrate ext4 to Kconfig
Migrate the following symbols to Kconfig:
CONFIG_FS_EXT4CONFIG_EXT4_WRITE
The definitions in config_fallbacks.h can now be expressed in Kconfig.
--- cmd/Kconfig | 3 +++ configs/ds109_defconfig | 1 + configs/mx25pdk_defconfig | 1 + doc/README.ext4 | 22 +++++++++++----------- fs/ext4/Kconfig | 13 +++++++++++++ include/config_fallbacks.h | 9 --------- include/configs/am335x_shc.h | 2 -- include/configs/brppt1.h | 8 -------- include/configs/hikey.h | 2 -- include/configs/mx25pdk.h | 5 ----- include/configs/pic32mzdask.h | 3 --- include/configs/rcar-gen2-common.h | 2 -- include/configs/rcar-gen3-common.h | 2 -- include/configs/rk3128_common.h | 1 - include/configs/rk3328_common.h | 1 - include/configs/rk3399_common.h | 1 - include/configs/s5p_goni.h | 5 ----- include/configs/sandbox.h | 2 -- include/configs/tegra-common-post.h | 5 ----- scripts/config_whitelist.txt | 2 -- 20 files changed, 29 insertions(+), 61 deletions(-)
Kconfig +3 -0
@@ -1357,17 +1357,20 @@ config CMD_CRAMFS config CMD_EXT2 bool "ext2 command support" + select FS_EXT4 help Enables EXT2 FS command config CMD_EXT4 bool "ext4 command support" + select FS_EXT4 help Enables EXT4 FS command config CMD_EXT4_WRITE depends on CMD_EXT4 bool "ext4 write command support" + select EXT4_WRITE help Enables EXT4 FS write command
ds109_defconfig +1 -0
@@ -22,3 +22,4 @@ CONFIG_SPI_FLASH_STMICRO=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y +CONFIG_FS_EXT4=y
mx25pdk_defconfig +1 -0
@@ -17,5 +17,6 @@ CONFIG_CMD_DATE=y CONFIG_CMD_FS_GENERIC=y CONFIG_DOS_PARTITION=y CONFIG_ENV_IS_IN_MMC=y +CONFIG_FS_EXT4=y CONFIG_FS_FAT=y CONFIG_OF_LIBFDT=y
README.ext4 +11 -11
@@ -2,10 +2,10 @@ U-Boot supports access of both ext2 and ext4 filesystems, either in read-only mode or in read-write mode. First, to enable support for both ext4 (and, automatically, ext2 as well), -but without selecting the corresponding commands, use one of: +but without selecting the corresponding commands, enable one of the following: - #define CONFIG_FS_EXT4 (for read-only) - #define CONFIG_EXT4_WRITE (for read-write) + CONFIG_FS_EXT4 (for read-only) + CONFIG_EXT4_WRITE (for read-write) Next, to select the ext2-related commands:
@@ -20,22 +20,22 @@ or ext4-related commands: use one or both of: - #define CONFIG_CMD_EXT2 - #define CONFIG_CMD_EXT4 + CONFIG_CMD_EXT2 + CONFIG_CMD_EXT4 -Selecting either of the above automatically defines CONFIG_FS_EXT4 if it -wasn't defined already. +Selecting either of the above automatically selects CONFIG_FS_EXT4 if it +wasn't enabled already. -In addition, to get the write access command "ext4write", use: +In addition, to get the write access command "ext4write", enable: - #define CONFIG_CMD_EXT4_WRITE + CONFIG_CMD_EXT4_WRITE -which automatically defines CONFIG_EXT4_WRITE if it wasn't defined +which automatically selects CONFIG_EXT4_WRITE if it wasn't defined already. Also relevant are the generic filesystem commands, selected by: - #define CONFIG_CMD_FS_GENERIC + CONFIG_CMD_FS_GENERIC This does not automatically enable EXT4 support for you, you still need to do that yourself.
ext4/Kconfig +13 -0
@@ -0,0 +1,13 @@ +config FS_EXT4 + bool "Enable ext4 filesystem support" + help + This provides support for reading images from the ext4 filesystem. + ext4 is a widely used general-purpose filesystem for Linux. + You can also enable CMD_EXT4 to get access to ext4 commands. + +config EXT4_WRITE + bool "Enable ext4 filesystem write support" + depends on FS_EXT4 + help + This provides support for creating and writing new files to an + existing ext4 filesystem partition.
config_fallbacks.h +0 -9
@@ -33,15 +33,6 @@#define CONFIG_FS_FAT #endif -#if (defined(CONFIG_CMD_EXT4 ) || defined(CONFIG_CMD_EXT2 )) && \ - !defined(CONFIG_FS_EXT4 ) -#define CONFIG_FS_EXT4 -#endif - -#if defined(CONFIG_CMD_EXT4_WRITE ) && !defined(CONFIG_EXT4_WRITE ) -#define CONFIG_EXT4_WRITE -#endif -/* Rather than repeat this expression each time, add a define for it */ #if defined(CONFIG_IDE) || \ defined(CONFIG_SATA) || \
configs/am335x_shc.h +0 -2
@@ -17,8 +17,6 @@/* settings we don;t want on this board */ #undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC -#undef CONFIG_CMD_EXT4 -#undef CONFIG_CMD_EXT4_WRITE#undef CONFIG_CMD_SPI#define CONFIG_CMD_CACHE
configs/brppt1.h +0 -8
@@ -245,13 +245,5 @@ MMCARGS#else #error "no storage for Environment defined!"#endif -/* -* Common filesystems support. When we have removable storage we -* enabled a number of useful commands and support. -*/ -#if defined(CONFIG_MMC ) || defined(CONFIG_USB_STORAGE ) -#define CONFIG_FS_EXT4 -#define CONFIG_EXT4_WRITE -#endif /* CONFIG_MMC, ... */ #endif /* ! __CONFIG_BRPPT1_H__ */
configs/hikey.h +0 -2
@@ -66,8 +66,6 @@/* SD/MMC configuration */ #define CONFIG_BOUNCE_BUFFER -#define CONFIG_FS_EXT4 -/* Command line configuration */ #define CONFIG_MTD_PARTITIONS
configs/mx25pdk.h +0 -5
@@ -65,11 +65,6 @@#define CONFIG_CMDLINE_EDITING #define CONFIG_SYS_LONGHELP -/* U-Boot commands */ - -/* Filesystem support */ -#define CONFIG_FS_EXT4 -/* Ethernet */ #define CONFIG_FEC_MXC #define CONFIG_FEC_MXC_PHYADDR 0x1f
configs/pic32mzdask.h +0 -3
@@ -88,9 +88,6 @@/* FAT FS */ #define CONFIG_SUPPORT_VFAT -/* EXT4 FS */ -#define CONFIG_FS_EXT4 -/* ------------------------------------------------- * Environment */
configs/rcar-gen2-common.h +0 -2
@@ -13,8 +13,6 @@/* Support File sytems */ #define CONFIG_SUPPORT_VFAT -#define CONFIG_FS_EXT4 -#define CONFIG_EXT4_WRITE #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS
configs/rcar-gen3-common.h +0 -2
@@ -19,8 +19,6 @@/* Support File sytems */ #define CONFIG_SUPPORT_VFAT -#define CONFIG_FS_EXT4 -#define CONFIG_EXT4_WRITE #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS
configs/rk3128_common.h +0 -1
@@ -31,7 +31,6 @@#define CONFIG_BOUNCE_BUFFER #define CONFIG_SUPPORT_VFAT -#define CONFIG_FS_EXT4 /* RAW SD card / eMMC locations. */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10)
configs/rk3328_common.h +0 -1
@@ -25,7 +25,6 @@#define CONFIG_BOUNCE_BUFFER #define CONFIG_SUPPORT_VFAT -#define CONFIG_FS_EXT4 /* RAW SD card / eMMC locations. */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10)
configs/rk3399_common.h +0 -1
@@ -39,7 +39,6 @@#define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ 200000000#define CONFIG_SUPPORT_VFAT -#define CONFIG_FS_EXT4 /* RAW SD card / eMMC locations. */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10)
configs/s5p_goni.h +0 -5
@@ -188,11 +188,6 @@#define CONFIG_SAMSUNG_ONENAND 1#define CONFIG_SYS_ONENAND_BASE 0xB0000000 -/* write support for filesystems */ -#define CONFIG_EXT4_WRITE - -/* GPT */ -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000)#define CONFIG_USB_GADGET_DWC2_OTG_PHY
configs/sandbox.h +0 -2
@@ -25,8 +25,6 @@#define CONFIG_LMB -#define CONFIG_FS_EXT4 -#define CONFIG_EXT4_WRITE #define CONFIG_HOST_MAX_DEVICES 4/*
configs/tegra-common-post.h +0 -5
@@ -113,11 +113,6 @@#ifdef CONFIG_CMD_I2C #endif -/* remove partitions/filesystems */ -#ifdef CONFIG_FS_EXT4 -#undef CONFIG_FS_EXT4 -#endif -/* remove USB */ #ifdef CONFIG_USB_EHCI_TEGRA #undef CONFIG_USB_EHCI_TEGRA
config_whitelist.txt +0 -2
@@ -610,7 +610,6 @@ CONFIG_ETHER_ON_FCC3 CONFIG_ETHPRIME CONFIG_ETH_BUFSIZE CONFIG_ETH_RXSIZE -CONFIG_EXT4_WRITE CONFIG_EXTRA_BOOTARGS CONFIG_EXTRA_CLOCK CONFIG_EXTRA_ENV
@@ -760,7 +759,6 @@ CONFIG_FSL_VIA CONFIG_FSMC_NAND_BASE CONFIG_FSMTDBLK CONFIG_FSNOTIFY -CONFIG_FS_EXT4 CONFIG_FS_POSIX_ACL CONFIG_FTAHBC020S CONFIG_FTAHBC020S_BASE
Signature · 1 line
2.15.0
PATCH 2/5 ARM: poplar: Use Kconfig to enable CONFIG_FAT_WRITE
The symbol's been converted to Kconfig for a while, poplar is the only one #defining it.
--- configs/poplar_defconfig | 1 + include/configs/poplar.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
poplar_defconfig +1 -0
@@ -17,4 +17,5 @@ CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_STORAGE=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y +CONFIG_FAT_WRITE=y CONFIG_LIB_RAND=y
configs/poplar.h +0 -1
@@ -66,7 +66,6 @@#define CONFIG_SYS_MMC_ENV_DEV 0#define CONFIG_ENV_OFFSET (0x780 * 512)/* env_mmc_blknum */ #define CONFIG_ENV_SIZE 0x10000/* env_mmc_nblks bytes */ -#define CONFIG_FAT_WRITE #define CONFIG_ENV_VARS_UBOOT_CONFIG /* Monitor Command Prompt */
Signature · 1 line
2.15.0
PATCH 2/5 ARM: poplar: Use Kconfig to enable CONFIG_FAT_WRITE
Quoted 4 lines · Tuomas Tynkkynen
The symbol's been converted to
Kconfigfor a while, poplar is the only one #defining it.Signed-off-by Tuomas Tynkkynen <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/f8c64d2a/attachment.sig>
PATCH 3/5 env: ENV_IS_IN_FAT improvements
In reply to Tuomas TynkkynenMake it select FS_FAT as well, because if it's not selected, enabling ENV_IS_IN_FAT causes a Kconfig warning:
warning: (ENV_IS_IN_FAT) selects FAT_WRITE which has unmet direct dependencies (FS_FAT)
This also allows dropping some code from config_fallbacks.
Also drop the unnecessary help text about having to enable CONFIG_FAT_WRITE - Kconfig automatically handles that.
--- env/Kconfig | 4 +--- include/config_fallbacks.h | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-)
Kconfig +1 -3
@@ -74,13 +74,11 @@ config ENV_IS_IN_EEPROM config ENV_IS_IN_FAT bool "Environment is in a FAT filesystem" depends on !CHAIN_OF_TRUST + select FS_FAT select FAT_WRITE help Define this if you want to use the FAT file system for the environment. - - CONFIG_FAT_WRITE: - This must be enabled. Otherwise it cannot save the environment file. - config ENV_IS_IN_FLASH bool "Environment in flash memory" depends on !CHAIN_OF_TRUST
config_fallbacks.h +0 -4
@@ -29,10 +29,6 @@#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }#endif -#if defined(CONFIG_ENV_IS_IN_FAT ) && !defined(CONFIG_FS_FAT ) -#define CONFIG_FS_FAT -#endif -/* Rather than repeat this expression each time, add a define for it */ #if defined(CONFIG_IDE) || \ defined(CONFIG_SATA) || \
Signature · 1 line
2.15.0
PATCH 3/5 env: ENV_IS_IN_FAT improvements
Quoted 11 lines · Tuomas Tynkkynen
Make it select
FS_FATas well, because if it's not selected, enablingENV_IS_IN_FATcauses aKconfigwarning:warning: (
ENV_IS_IN_FAT) selectsFAT_WRITEwhich has unmet direct dependencies (FS_FAT)This also allows dropping some code from
config_fallbacks.Also drop the unnecessary help text about having to enable
CONFIG_FAT_WRITE-Kconfigautomatically handles that.Signed-off-by Tuomas Tynkkynen <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/dd3eed41/attachment.sig>
PATCH 4/5 fs: FAT: Fix typo in FS_FAT_MAX_CLUSTSIZE description
In reply to Tuomas Tynkkynen--- fs/fat/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fat/Kconfig +1 -1
@@ -14,7 +14,7 @@ config FAT_WRITE existing FAT filesystem partition. config FS_FAT_MAX_CLUSTSIZE - int "Set maximum possible clusersize" + int "Set maximum possible clustersize" default 65536 depends on FS_FAT help
Signature · 1 line
2.15.0
PATCH 4/5 fs: FAT: Fix typo in FS_FAT_MAX_CLUSTSIZE description
Quoted 1 line · Tuomas Tynkkynen
Signed-off-by Tuomas Tynkkynen <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/5c49cb38/attachment.sig>
PATCH 5/5 fs: fat: Drop CONFIG_SUPPORT_VFAT
In reply to Tuomas Tynkkynenfat.h unconditionally defines CONFIG_SUPPORT_VFAT (and has done since 2003), so as a result VFAT support is always enabled regardless of whether a board config defines it or not. Drop this unnecessary option.
--- fs/fat/fat.c | 12 +----------- fs/fat/fat_write.c | 3 +-- include/configs/MPC8349ITX.h | 8 -------- include/configs/apf27.h | 1 - include/configs/clearfog.h | 5 ----- include/configs/controlcenterdc.h | 3 --- include/configs/db-88f6720.h | 3 --- include/configs/db-88f6820-amc.h | 5 ----- include/configs/db-88f6820-gp.h | 5 ----- include/configs/db-mv784mp-gp.h | 3 --- include/configs/ds414.h | 1 - include/configs/edminiv2.h | 1 - include/configs/gplugd.h | 2 -- include/configs/mv-common.h | 7 ------- include/configs/mvebu_armada-37xx.h | 2 -- include/configs/mvebu_armada-8k.h | 2 -- include/configs/nas220.h | 1 - include/configs/pic32mzdask.h | 6 ------ include/configs/rcar-gen2-common.h | 3 --- include/configs/rcar-gen3-common.h | 3 --- include/configs/rk3128_common.h | 2 -- include/configs/rk3328_common.h | 2 -- include/configs/rk3399_common.h | 2 -- include/configs/theadorable.h | 3 --- include/configs/turris_omnia.h | 3 --- include/configs/vct.h | 1 - include/configs/x600.h | 4 ---- include/configs/x86-common.h | 2 -- include/configs/zmx25.h | 1 - include/configs/zynq-common.h | 4 ---- include/fat.h | 1 - scripts/config_whitelist.txt | 1 - 32 files changed, 2 insertions(+), 100 deletions(-)
fat/fat.c +1 -11
@@ -22,12 +22,6 @@#include <linux/compiler.h> #include <linux/ctype.h> -#ifdef CONFIG_SUPPORT_VFAT -static const int vfat_enabled =1 ; -#else -static const int vfat_enabled =0 ; -#endif -/* * Convert a string to lowercase. Converts at most 'len' characters, * 'len' may be larger than the length of 'str' if 'str' is NULL
@@ -605,9 +599,6 @@ static int get_fs_info(fsdata *mydata)return -1 ; } -if (vfat_enabled) -debug ("VFAT Support enabled\n" ); -debug ("FAT%d, fat_sect: %d, fatlength: %d\n" , mydata->fatsize, mydata->fat_sect, mydata->fatlength); debug("Rootdir begins at cluster: %d, sector: %d, offset: %x\n"
@@ -857,8 +848,7 @@ static int fat_itr_next(fat_itr *itr)continue ;if (dent->attr &ATTR_VOLUME ) { -if (vfat_enabled && - (dent->attr &ATTR_VFAT ) ==ATTR_VFAT && +if ((dent->attr &ATTR_VFAT ) ==ATTR_VFAT && (dent->name[0 ] &LAST_LONG_ENTRY_MASK )) { dent =extract_vfat_name (itr);if (!dent)
fat/fat_write.c +1 -2
@@ -819,8 +819,7 @@ static dir_entry *find_directory_entry(fsdata *mydata, int startsect,continue ; }if ((dentptr->attr &ATTR_VOLUME )) { -if (vfat_enabled && - (dentptr->attr &ATTR_VFAT ) && +if ((dentptr->attr &ATTR_VFAT ) && (dentptr->name[0 ] &LAST_LONG_ENTRY_MASK )) { get_long_file_name(mydata, curclust, get_dentfromdir_block,
configs/MPC8349ITX.h +0 -8
@@ -470,14 +470,6 @@ boards, we say we have two, but don't display a message if we find only one. */#define CONFIG_BOOTP_GATEWAY #define CONFIG_BOOTP_HOSTNAME -#if defined(CONFIG_COMPACT_FLASH ) || defined(CONFIG_SATA_SIL3114 ) \ - || defined(CONFIG_USB_STORAGE ) -#define CONFIG_SUPPORT_VFAT -#endif - -#if defined(CONFIG_SATA_SIL3114 ) || defined(CONFIG_USB_STORAGE ) -#endif -/* Watchdog */ #undef CONFIG_WATCHDOG/* watchdog disabled */
configs/apf27.h +0 -1
@@ -204,7 +204,6 @@*/ #define CONFIG_MTD_DEVICE #define CONFIG_MTD_PARTITIONS -#define CONFIG_SUPPORT_VFAT /* * Ethernet (on SOC imx FEC)
configs/clearfog.h +0 -5
@@ -40,11 +40,6 @@*/ #define CONFIG_SYS_MMC_BASE MVEBU_SDIO_BASE -/* Partition support */ - -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* USB/EHCI configuration */ #define CONFIG_EHCI_IS_TDI
configs/controlcenterdc.h +0 -3
@@ -54,9 +54,6 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* USB/EHCI configuration */ #define CONFIG_EHCI_IS_TDI
configs/db-88f6720.h +0 -3
@@ -49,9 +49,6 @@#define CONFIG_SYS_ALT_MEMTEST -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* * mv-common.h should be defined after CMD configs since it used them * to enable certain macros
configs/db-88f6820-amc.h +0 -5
@@ -30,11 +30,6 @@#define CONFIG_SF_DEFAULT_SPEED 1000000#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3 -/* Partition support */ - -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* USB/EHCI configuration */ #define CONFIG_EHCI_IS_TDI
configs/db-88f6820-gp.h +0 -5
@@ -50,11 +50,6 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -/* Partition support */ - -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* USB/EHCI configuration */ #define CONFIG_EHCI_IS_TDI
configs/db-mv784mp-gp.h +0 -3
@@ -51,9 +51,6 @@#define CONFIG_SYS_SATA_MAX_DEVICE 2#define CONFIG_LBA48 -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* PCIe support */ #ifndef CONFIG_SPL_BUILD #define CONFIG_PCI_MVEBU
configs/ds414.h +0 -1
@@ -68,7 +68,6 @@#endif /* why is this only defined in mv-common.h if CONFIG_DM is undefined? */ -#define CONFIG_SUPPORT_VFAT #define CONFIG_SYS_MVFS /*
configs/edminiv2.h +0 -1
@@ -166,7 +166,6 @@*/ #ifdef CONFIG_CMD_USB #define ORION5X_USB20_HOST_PORT_BASE ORION5X_USB20_PORT0_BASE -#define CONFIG_SUPPORT_VFAT #endif /* CONFIG_CMD_USB */ /*
configs/gplugd.h +0 -2
@@ -85,6 +85,4 @@#define CONFIG_EHCI_IS_TDI #endif /* CONFIG_CMD_USB */ -#define CONFIG_SUPPORT_VFAT -#endif /* __CONFIG_GPLUGD_H */
configs/mv-common.h +0 -7
@@ -115,13 +115,6 @@#ifdef CONFIG_CMD_SF #endif -/* -* Common USB/EHCI configuration -*/ -#if defined(CONFIG_CMD_USB ) && !defined(CONFIG_DM ) -#define CONFIG_SUPPORT_VFAT -#endif /* CONFIG_CMD_USB */ -/* * File system */
configs/mvebu_armada-37xx.h +0 -2
@@ -105,6 +105,4 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -#define CONFIG_SUPPORT_VFAT -#endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
configs/mvebu_armada-8k.h +0 -2
@@ -105,8 +105,6 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -#define CONFIG_SUPPORT_VFAT -/* * PCI configuration */
configs/nas220.h +0 -1
@@ -91,7 +91,6 @@#ifdef CONFIG_CMD_USB #define CONFIG_USB_EHCI_KIRKWOOD /* on Kirkwood platform */ #define CONFIG_EHCI_IS_TDI -#define CONFIG_SUPPORT_VFAT #endif /* CONFIG_CMD_USB */ /*
configs/pic32mzdask.h +0 -6
@@ -82,12 +82,6 @@*/ #define CONFIG_USB_MUSB_PIO_ONLY -/*----------------------------------------------------------------------- -* File System Configuration -*/ -/* FAT FS */ -#define CONFIG_SUPPORT_VFAT -/* ------------------------------------------------- * Environment */
configs/rcar-gen2-common.h +0 -3
@@ -11,9 +11,6 @@#include <asm/arch/rmobile.h> -/* Support File sytems */ -#define CONFIG_SUPPORT_VFAT -#define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG
configs/rcar-gen3-common.h +0 -3
@@ -17,9 +17,6 @@/* boot option */ #define CONFIG_SUPPORT_RAW_INITRD -/* Support File sytems */ -#define CONFIG_SUPPORT_VFAT -#define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG
configs/rk3128_common.h +0 -2
@@ -30,8 +30,6 @@/* MMC/SD IP block */ #define CONFIG_BOUNCE_BUFFER -#define CONFIG_SUPPORT_VFAT -/* RAW SD card / eMMC locations. */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10)
configs/rk3328_common.h +0 -2
@@ -24,8 +24,6 @@/* MMC/SD IP block */ #define CONFIG_BOUNCE_BUFFER -#define CONFIG_SUPPORT_VFAT -/* RAW SD card / eMMC locations. */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10)
configs/rk3399_common.h +0 -2
@@ -38,8 +38,6 @@#define CONFIG_BOUNCE_BUFFER #define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ 200000000 -#define CONFIG_SUPPORT_VFAT -/* RAW SD card / eMMC locations. */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10)
configs/theadorable.h +0 -3
@@ -67,9 +67,6 @@#define CONFIG_SYS_SATA_MAX_DEVICE 1#define CONFIG_LBA48 -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* PCIe support */ #ifdef CONFIG_CMD_PCI #ifndef CONFIG_SPL_BUILD
configs/turris_omnia.h +0 -3
@@ -59,9 +59,6 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -/* Additional FS support/configuration */ -#define CONFIG_SUPPORT_VFAT -/* USB/EHCI configuration */ #define CONFIG_EHCI_IS_TDI
configs/vct.h +0 -1
@@ -72,7 +72,6 @@* Commands */ #if defined(CONFIG_CMD_USB ) -#define CONFIG_SUPPORT_VFAT /* * USB/EHCI
configs/x600.h +0 -4
@@ -96,10 +96,6 @@#define CONFIG_USB_EHCI_SPEAR #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 -/* Filesystem support (for USB key) */ -#define CONFIG_SUPPORT_VFAT - -/* * U-Boot Environment placing definitions. */
configs/x86-common.h +0 -2
@@ -58,8 +58,6 @@#define CONFIG_CMDLINE_EDITING #define CONFIG_AUTO_COMPLETE -#define CONFIG_SUPPORT_VFAT -/*----------------------------------------------------------------------- * Command line configuration. */
configs/zmx25.h +0 -1
@@ -82,7 +82,6 @@#define CONFIG_MXC_USB_PORTSC MXC_EHCI_MODE_SERIAL#define CONFIG_MXC_USB_FLAGS (MXC_EHCI_INTERNAL_PHY | MXC_EHCI_IPPUE_DOWN)#define CONFIG_EHCI_IS_TDI -#define CONFIG_SUPPORT_VFAT #endif /* CONFIG_CMD_USB */ /* SDRAM */
configs/zynq-common.h +0 -4
@@ -124,10 +124,6 @@# define DFU_ALT_INFO #endif -#if defined(CONFIG_MMC_SDHCI_ZYNQ ) || defined(CONFIG_ZYNQ_USB ) -# define CONFIG_SUPPORT_VFAT -#endif -#if defined(CONFIG_ZYNQ_I2C0 ) || defined(CONFIG_ZYNQ_I2C1 )#define CONFIG_SYS_I2C_ZYNQ #endif
fat.h +0 -1
@@ -13,7 +13,6 @@#include <asm/byteorder.h> #include <fs.h> -#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 */
config_whitelist.txt +0 -1
@@ -2214,7 +2214,6 @@ CONFIG_SUPERH_ON_CHIP_R8A66597 CONFIG_SUPPORT_EMMC_BOOT CONFIG_SUPPORT_EMMC_RPMB CONFIG_SUPPORT_RAW_INITRD -CONFIG_SUPPORT_VFAT CONFIG_SUVD3 CONFIG_SXNI855T CONFIG_SYSCOUNTER_TIMER
Signature · 1 line
2.15.0
PATCH 5/5 fs: fat: Drop CONFIG_SUPPORT_VFAT
Quoted 5 lines · Tuomas Tynkkynen
fat.hunconditionally definesCONFIG_SUPPORT_VFAT(and has done since 2003), so as a result VFAT support is always enabled regardless of whether a board config defines it or not. Drop this unnecessary option.Signed-off-by Tuomas Tynkkynen <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/af5cc010/attachment.sig>
PATCH 1/5 fs: Migrate ext4 to Kconfig
In reply to Tuomas TynkkynenQuoted 8 lines · Tuomas Tynkkynen
Migrate the following symbols to
Kconfig:
CONFIG_FS_EXT4CONFIG_EXT4_WRITEThe definitions in
config_fallbacks.hcan now be expressed inKconfig.Signed-off-by Tuomas Tynkkynen <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/1aab5a0e/attachment.sig>