The CONFIG_ prefix is not used inside Kconfig, but outside in Makefiles
and preprocessor symbols.

Drop it, so ENV_HANDLING_AUTOPROBE correctly changes with regards to
CONFIG_INSECURE=y.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Kconfig b/common/Kconfig
index 4bed5644c280..bfca650c49cc 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -990,7 +990,7 @@ config ENV_HANDLING
 config ENV_HANDLING_AUTOPROBE
        depends on ENV_HANDLING
        bool "Autoprobe for environment devices"
-       default CONFIG_INSECURE
+       default INSECURE
        help
          There are two ways for specifying where the barebox environment is. 
The first one
          specifies the path explicitly in the device tree or board code. The 
other one is
-- 
2.47.3


Reply via email to