rtc: Set DW driver as default for Quark SE and D2000

This patch changes both Quark SE and D2000 Kconfig files to enable the
RTC_DW driver by default if the RTC is enabled. This way, we keep it
consistent with the approach we already follow for others peripheral
drivers (GPIO, I2C, SPI).

Change-Id: I4910e501c105b6218d046080c47b1e7a42eced92
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
This commit is contained in:
Andre Guedes 2016-02-16 16:00:58 -02:00 committed by Anas Nashif
commit a4cf537d65
2 changed files with 9 additions and 6 deletions

View file

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

View file

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