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>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 73fc29e..d9f7151 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -715,6 +715,13 @@
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