]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Enable RTC command by default
authorSimon Glass <sjg@chromium.org>
Mon, 14 Oct 2024 22:32:12 +0000 (16:32 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:22 +0000 (14:10 -0600)
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 <sjg@chromium.org>
cmd/Kconfig

index bff22b94de2beb2a789ff8e3c7fdc6ac5a097c60..a4ca61c37ddc3ebafbf6e6c407fd43f8879af057 100644 (file)
@@ -2291,6 +2291,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.