[U-Boot,v1,1/2] cmd: add Kconfig option for 'date' command

Message ID 20170421162743.9881-2-judge.packham@gmail.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Chris Packham April 21, 2017, 4:27 p.m.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
---

 cmd/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 13dc46a..1aaf8c5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -676,6 +676,12 @@  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"
+	help
+	  Enable the 'date' command for getting/setting the time/date in RTC
+	  devices.
+
 config CMD_TIME
 	bool "time"
 	help