watchdog: dw: Make internal primitives Kconfig based

Base address, IRQ, interrupt priority as well as the instance name: all
are now Kconfig based. Thus Applying the change to quark_se and
quark_d2000 platforms. Sample code is updated as well.

Change-Id: Idcc89e6e9f4acc337fafc7d42f8de3061a5ece04
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2015-12-03 10:02:00 +01:00 committed by Anas Nashif
commit 85b49efe67
8 changed files with 76 additions and 13 deletions

View file

@ -167,6 +167,15 @@ config SPI_DW_PORT_1_IRQ
default 3
endif
if WATCHDOG
config WDT_DW
def_bool y
config WDT_DW_BASE_ADDR
default 0xB0000000
config WDT_DW_IRQ
default 12
endif
config KERNEL_INIT_PRIORITY_DEFAULT
default 40