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

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

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

View file

@ -157,15 +157,16 @@ config UART_PIPE_IRQ_PRI
endif endif
if WATCHDOG if WATCHDOG
config WDT_DW
def_bool y
if WDT_DW if WDT_DW
config WDT_DW_BASE_ADDR config WDT_DW_BASE_ADDR
default 0xB0000000 default 0xB0000000
config WDT_DW_IRQ config WDT_DW_IRQ
default 16 default 16
endif endif # WDT_DW
endif # WATCHDOG
endif
if RTC if RTC
config RTC_IRQ config RTC_IRQ

View file

@ -235,6 +235,9 @@ endif # SPI_QMSI
endif endif
if WATCHDOG if WATCHDOG
config WDT_DW
def_bool y
if WDT_DW if WDT_DW
config WDT_DW_CLOCK_GATE config WDT_DW_CLOCK_GATE
def_bool n def_bool n
@ -246,8 +249,8 @@ config WDT_DW_BASE_ADDR
default 0xB0000000 default 0xB0000000
config WDT_DW_IRQ config WDT_DW_IRQ
default 12 default 12
endif endif # WDT_DW
endif endif # WATCHDOG
if RTC if RTC
config RTC_IRQ config RTC_IRQ