diff mbox series

[13/16] Kconfig: Move VERSION_VARIABLE under environment

Message ID 20200910202100.13.I296ca15131beef4b1667922bfec0425407ded721@changeid
State Accepted
Delegated to: Tom Rini
Headers show
Series Kconfig: Tidy up the top-level kconfig menu | expand

Commit Message

Simon Glass Sept. 11, 2020, 2:21 a.m. UTC
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 | 10 ----------
 env/Kconfig    |  9 +++++++++
 2 files changed, 9 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/common/Kconfig b/common/Kconfig
index bcb3519c775..132d1051607 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -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
diff --git a/env/Kconfig b/env/Kconfig
index b59ba310ec3..02dcd98e111 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -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