From 3ec46991d71aa4772aeeafbce116c56ad8670fba Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 22 May 2020 01:10:14 +0200 Subject: env: Convert ENV_ACCESS_IGNORE_FORCE to Kconfig Convert ENV_ACCESS_IGNORE_FORCE to Kconfig, no functional change. Signed-off-by: Marek Vasut Cc: Tom Rini --- env/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'env/Kconfig') diff --git a/env/Kconfig b/env/Kconfig index ed94e83ec1..ca7fef682b 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -604,6 +604,13 @@ config DELAY_ENVIRONMENT later by U-Boot code. With CONFIG_OF_CONTROL this is instead controlled by the value of /config/load-environment. +config ENV_ACCESS_IGNORE_FORCE + bool "Block forced environment operations" + default n + help + If defined, don't allow the -f switch to env set override variable + access flags. + if SPL_ENV_SUPPORT config SPL_ENV_IS_NOWHERE bool "SPL Environment is not stored" -- cgit v1.2.3