From 9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Fri, 9 Sep 2016 08:12:49 +0200 Subject: common, kconfig: move VERSION_VARIABLE to Kconfig move VERSION_VARIABLE from board config file into a Kconfig option. Signed-off-by: Heiko Schocher --- common/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'common') 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. -- cgit v1.1