[PATCH 34/34] x86: Enable RTC command by default

Simon Glass sjg at chromium.org
Mon Oct 2 03:15:44 CEST 2023


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>
---

 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



More information about the U-Boot mailing list