env: enable CONFIG_ENV_IS_IN_EXT4
PATCH 1/1 env: enable CONFIG_ENV_IS_IN_EXT4
--- env/Kconfig | 10 ++++++++++ env/env.c | 2 ++ 2 files changed, 12 insertions(+)
env/Kconfig +10 -0
@@ -81,6 +81,16 @@ config ENV_IS_IN_FAT - 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 + select EXT4_WRITE + help + Define this if you want to use the EXT4 file system for the environment. + + - CONFIG_EXT4_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
env/env.c +2 -0
@@ -32,6 +32,8 @@ static enum env_location env_get_default_location(void)return ENVL_EEPROM ; else if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) return ENVL_FAT; + else if IS_ENABLED(CONFIG_ENV_IS_IN_EXT4) + return ENVL_EXT4; else if IS_ENABLED(CONFIG_ENV_IS_IN_FLASH) return ENVL_FLASH; else if IS_ENABLED(CONFIG_ENV_IS_IN_MMC)
Signature · 1 line
2.7.4
PATCH 1/1 env: enable CONFIG_ENV_IS_IN_EXT4
On Mon, Nov 27, 2017 at 05:26:19PM +0100, Jorge Ramirez-Ortiz wrote:
Please add a line or two here, thanks.
Quoted 12 lines
--- env/Kconfig | 10 ++++++++++ env/env.c | 2 ++ 2 files changed, 12 insertions(+)env/Kconfig +0
-0@@ -81,6 +81,16 @@ config ENV_IS_IN_FAT - CONFIG_FAT_WRITE: This must be enabled. Otherwise it cannot save the environment file.
env/Kconfig config ENV_IS_IN_FAT · line 92
Quoted 10 lines
env/Kconfig +9
-0+config ENV_IS_IN_EXT4 + bool "Environment is in a EXT4 filesystem" + depends on !CHAIN_OF_TRUST + select EXT4_WRITE + help + Define this if you want to use the EXT4 file system for the environment. + + - CONFIG_EXT4_WRITE: + This must be enabled. Otherwise it cannot save the environment file.
We can remove this bit about needing CONFIG_EXT4_WRITE as we're expressing this dependency via select above now. 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/20171127/7e558e03/attachment.sig>