[PATCH v2 19/19] x86: Enable RTC command by default

Simon Glass sjg at chromium.org
Thu Jan 4 16:11:52 CET 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>
---

Changes in v2:
- Rebase to -next

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

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2386f4cf3bc..8423277c542 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2193,6 +2193,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