summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2017-04-29 03:20:28 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-01 13:04:56 (GMT)
commitc9032ce168c1344fe8ffe8604825ec343ec14adf (patch)
tree99ba9365ad6ec97acc42cd34e6c378672af2b804 /cmd/Kconfig
parentae189ba1ac85e47fe57d6422bc9474ff081a30a4 (diff)
downloadu-boot-fsl-qoriq-c9032ce168c1344fe8ffe8604825ec343ec14adf.tar.xz
cmd: add Kconfig option for 'date' command
Signed-off-by: Chris Packham <judge.packham@gmail.com> [trini: default y if DM_RTC, re-sync] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 73fc29e..d9f7151 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -715,6 +715,13 @@ config CMD_LED
with led on/off/togle/blink. Any LED drivers can be controlled with
this command, e.g. led_gpio.
+config CMD_DATE
+ bool "date"
+ default y if DM_RTC
+ help
+ Enable the 'date' command for getting/setting the time/date in RTC
+ devices.
+
config CMD_TIME
bool "time"
help