diff options
author | Chris Packham <judge.packham@gmail.com> | 2017-04-29 15:20:28 +1200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-01 09:04:56 -0400 |
commit | c9032ce168c1344fe8ffe8604825ec343ec14adf (patch) | |
tree | 99ba9365ad6ec97acc42cd34e6c378672af2b804 /cmd | |
parent | ae189ba1ac85e47fe57d6422bc9474ff081a30a4 (diff) | |
download | u-boot-c9032ce168c1344fe8ffe8604825ec343ec14adf.zip u-boot-c9032ce168c1344fe8ffe8604825ec343ec14adf.tar.gz u-boot-c9032ce168c1344fe8ffe8604825ec343ec14adf.tar.bz2 |
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')
-rw-r--r-- | cmd/Kconfig | 7 |
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 |