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

Chris Packham judge.packham at gmail.com
Fri Apr 21 16:27:42 UTC 2017


Signed-off-by: Chris Packham <judge.packham at gmail.com>
---

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

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
-- 
2.10.1



More information about the U-Boot mailing list