summaryrefslogtreecommitdiff
path: root/boot/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-18 21:27:50 +0300
committerTom Rini <trini@konsulko.com>2022-01-21 22:01:34 +0300
commitd6b318de2f0670b13240c7147e60497aef5f1164 (patch)
tree82f8e40ad98e271528c464f032d51e79d257e8d1 /boot/Kconfig
parent4b37fd146bb86b72f52b97386602ae58727b09fc (diff)
downloadu-boot-d6b318de2f0670b13240c7147e60497aef5f1164.tar.xz
Convert CONFIG_TIMESTAMP to Kconfig
This converts the following to Kconfig: CONFIG_TIMESTAMP Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r--boot/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index f1ce576ab2..c8d5906cd3 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -25,6 +25,17 @@ config FIT
multiple configurations, verification through hashing and also
verified boot (secure boot using RSA).
+config TIMESTAMP
+ bool "Show image date and time when displaying image information"
+ default y if CMD_DATE
+ help
+ When CONFIG_TIMESTAMP is selected, the timestamp (date and time) of
+ an image is printed by image commands like bootm or iminfo. This
+ is shown as 'Timestamp: xxx' and 'Created: xxx'. If this option is
+ enabled, then U-Boot requires FITs to have a timestamp. If a FIT is
+ loaded that does not, the message 'Wrong FIT format: no timestamp'
+ is shown.
+
if FIT
config FIT_EXTERNAL_OFFSET