]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Enable the RTC on all boards
authorSimon Glass <sjg@chromium.org>
Thu, 2 May 2019 16:52:24 +0000 (10:52 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:18 +0000 (13:02 +0800)
With the move to Kconfig this option should be set in Kconfig, not in the
config header file. Move it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/Kconfig
include/configs/x86-common.h

index 2914567248cda271e2e69582ad1e8a2121ebba82..0ad3867cd1033b4e803dd1648b0d250a61c1efd5 100644 (file)
@@ -165,6 +165,7 @@ config X86
        imply USB_ETHER_SMSC95XX
        imply USB_HOST_ETHER
        imply PCH
+       imply RTC_MC146818
 
        # Thing to enable for when SPL/TPL are enabled: SPL
        imply SPL_DM
index 4180b25f977863822be0c20d31bd36c0cdd2414f..7fcf76a6bf2aa1ab0074f0a89dd6a15d1645b268 100644 (file)
@@ -36,7 +36,6 @@
 /*-----------------------------------------------------------------------
  * Real Time Clock Configuration
  */
-#define CONFIG_RTC_MC146818
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
 #define CONFIG_SYS_ISA_IO      CONFIG_SYS_ISA_IO_BASE_ADDRESS