Kconfig: Move VERSION_VARIABLE under environment
authorSimon Glass <sjg@chromium.org>
Fri, 11 Sep 2020 02:21:24 +0000 (20:21 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 9 Oct 2020 16:01:55 +0000 (12:01 -0400)
This relates to the environment so should not be at the top level. Move
it.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/Kconfig
env/Kconfig

index bcb3519..132d105 100644 (file)
@@ -532,16 +532,6 @@ endmenu
 
 endmenu                # Init options
 
-config VERSION_VARIABLE
-       bool "add U-Boot environment variable vers"
-       default n
-       help
-         If this variable is defined, an environment variable
-         named "ver" is created by U-Boot showing the U-Boot
-         version as printed by the "version" command.
-         Any change to this variable will be reverted at the
-         next reset.
-
 config BOUNCE_BUFFER
        bool "Include bounce buffer API"
        help
index f3a9925..c6ba088 100644 (file)
@@ -773,4 +773,13 @@ config TPL_ENV_IS_IN_FLASH
 
 endif
 
+config VERSION_VARIABLE
+       bool "Add a 'ver' environment variable with the U-Boot version"
+       help
+         If this variable is defined, an environment variable
+         named "ver" is created by U-Boot showing the U-Boot
+         version as printed by the "version" command.
+         Any change to this variable will be reverted at the
+         next reset.
+
 endmenu