cmd: add Kconfig option for 'date' command
[oweals/u-boot.git] / cmd / Kconfig
index 73fc29e1b983318fcddde9df240c2d00daa77cfc..d9f7151bacdc82129c5c09eeba924991c1a2c324 100644 (file)
@@ -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