summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-11 05:21:24 +0300
committerTom Rini <trini@konsulko.com>2020-10-09 19:01:55 +0300
commitbc438b6e9a25614dc11c3c3fa2c38f9133090740 (patch)
treedae9273aacbfc8782ba6e4c2dd9b6f83c8902c26 /env
parent7e349e96692d2c161f024ef07dbf68334d059a3a (diff)
downloadu-boot-bc438b6e9a25614dc11c3c3fa2c38f9133090740.tar.xz
Kconfig: Move VERSION_VARIABLE under environment
This relates to the environment so should not be at the top level. Move it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index f3a9925f58..c6ba08878d 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