diff --git a/arch/x86/soc/quark_d2000/Kconfig b/arch/x86/soc/quark_d2000/Kconfig index 03c18b253a6..638c419783b 100644 --- a/arch/x86/soc/quark_d2000/Kconfig +++ b/arch/x86/soc/quark_d2000/Kconfig @@ -168,16 +168,16 @@ endif endif if RTC - config RTC_IRQ default 2 +config RTC_DW + def_bool y if RTC_DW config RTC_DW_BASE_ADDR default 0xB0000400 -endif - -endif +endif # RTC_DW +endif # RTC if I2C config I2C_DW diff --git a/arch/x86/soc/quark_se/Kconfig b/arch/x86/soc/quark_se/Kconfig index fa090f7efc7..654a38d7b66 100644 --- a/arch/x86/soc/quark_se/Kconfig +++ b/arch/x86/soc/quark_se/Kconfig @@ -252,6 +252,9 @@ endif if RTC config RTC_IRQ default 11 +config RTC_DW + def_bool y + if RTC_DW config RTC_DW_CLOCK_GATE def_bool n @@ -261,8 +264,8 @@ config RTC_DW_CLOCK_GATE_SUBSYS default 11 config RTC_DW_BASE_ADDR default 0xB0000400 -endif -endif +endif # RTC_DW +endif # RTC config KERNEL_INIT_PRIORITY_DEFAULT default 40