The real-time clock is needed for most X86 systems and it is useful to
be able to read from it. Enable the rtc command by default.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index e6977dc91bb2..080e104f9d76 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2164,6 +2164,7 @@ config CMD_DATE
 config CMD_RTC
        bool "rtc"
        depends on DM_RTC
+       default y if X86
        help
          Enable the 'rtc' command for low-level access to RTC devices.
 
-- 
2.42.0.582.g8ccd20d70d-goog

Reply via email to