summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-05-02 10:52:24 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-05-08 13:02:18 +0800
commit31d5261d3599dd7e1868e93e95076ac5d7468b3c (patch)
tree9b75fcb94251af521e0f74dc355d0076363bca87
parente766d9f1835e6ad6a2a3080c4abb2e5175b156e8 (diff)
x86: Enable the RTC on all boards
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>
-rw-r--r--arch/Kconfig1
-rw-r--r--include/configs/x86-common.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 2914567248..0ad3867cd1 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -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
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 4180b25f97..7fcf76a6bf 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -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