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:
parent
466cb00d3f
commit
85b49efe67
8 changed files with 76 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue