diff options
author | Heiko Schocher <hs@denx.de> | 2016-09-09 08:12:49 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-09 18:14:18 -0400 |
commit | 9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a (patch) | |
tree | 1c25f0f63a55fea935a8013b50dd5b9c8609889d /common | |
parent | 12f05678e157ef4472b4e3611bb7ae9751487ff0 (diff) | |
download | u-boot-9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a.tar.gz |
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')
-rw-r--r-- | common/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 4494112744..63c4a67263 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. |