summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-01-05 02:45:19 +0200
committerTom Rini <trini@konsulko.com>2018-01-22 16:43:31 -0500
commit3cd084d3645c8a508b412f794607c5628ab9f8e6 (patch)
tree40b6e25cd6ac56eb73c1dce92f1334a3dc69164e /env
parentf1698a8cf59db87ec54961b92523116e9f4c629c (diff)
env: ENV_IS_IN_FAT improvements
Make 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. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 692f8633b8..a24370786b 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -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_EXT4
bool "Environment is in a EXT4 filesystem"
depends on !CHAIN_OF_TRUST