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

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