summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-09-09 08:12:49 +0200
committerTom Rini <trini@konsulko.com>2016-09-09 18:14:18 -0400
commit9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a (patch)
tree1c25f0f63a55fea935a8013b50dd5b9c8609889d /common/Kconfig
parent12f05678e157ef4472b4e3611bb7ae9751487ff0 (diff)
downloadu-boot-imx-9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a.zip
u-boot-imx-9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a.tar.gz
u-boot-imx-9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a.tar.bz2
common, kconfig: move VERSION_VARIABLE to Kconfig
move VERSION_VARIABLE from board config file into a Kconfig option. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 4494112..63c4a67 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -203,3 +203,13 @@ config SYS_NO_FLASH
default n
help
This option is used to disable support for parallel NOR flash.
+
+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.