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 <[email protected]>
---

(no changes since v2)

Changes in v2:
- Rebase to -next

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

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 031a4f5e9bf..48461e70d67 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2266,6 +2266,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.34.1

Reply via email to