[U-Boot] [PATCH] env: Add !ENV_IS_IN_EXT4 dependency to ENV_IS_NOWHERE

If ENV_IS_IN_EXT4 is set you shouldn't be able to select ENV_IS_NOWHERE.
Signed-off-by: Alex Kiernan alex.kiernan@gmail.com ---
env/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/env/Kconfig b/env/Kconfig index f403906b6f..c1d6a9ab57 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -3,6 +3,7 @@ menu "Environment" config ENV_IS_NOWHERE bool "Environment is not stored" depends on !ENV_IS_IN_EEPROM + depends on !ENV_IS_IN_EXT4 depends on !ENV_IS_IN_FAT depends on !ENV_IS_IN_FLASH depends on !ENV_IS_IN_MMC

On 7 June 2018 at 23:10, Alex Kiernan alex.kiernan@gmail.com wrote:
If ENV_IS_IN_EXT4 is set you shouldn't be able to select ENV_IS_NOWHERE.
Signed-off-by: Alex Kiernan alex.kiernan@gmail.com
env/Kconfig | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass sjg@chromium.org

Hi Alex,
If ENV_IS_IN_EXT4 is set you shouldn't be able to select ENV_IS_NOWHERE.
Signed-off-by: Alex Kiernan alex.kiernan@gmail.com
Tested-by: Petr Vorel petr.vorel@gmail.com
Nice fix, thanks :)
Kind regards, Petr

On Fri, Jun 08, 2018 at 07:10:27AM +0000, Alex Kiernan wrote:
If ENV_IS_IN_EXT4 is set you shouldn't be able to select ENV_IS_NOWHERE.
Signed-off-by: Alex Kiernan alex.kiernan@gmail.com Reviewed-by: Simon Glass sjg@chromium.org Tested-by: Petr Vorel petr.vorel@gmail.com
Applied to u-boot/master, thanks!
participants (4)
-
Alex Kiernan
-
Petr Vorel
-
Simon Glass
-
Tom Rini