[PATCH v3 20/20] x86: Enable RTC command by default

Simon Glass sjg at chromium.org
Tue Oct 15 00:32:12 CEST 2024


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 at chromium.org>
---

(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



More information about the U-Boot mailing list