rtc: 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: I1c225c1b68d94b22ca10423b50a78a0ba09a27a5
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2015-12-03 11:49:29 +01:00 committed by Anas Nashif
commit 66f05ce4b3
8 changed files with 77 additions and 16 deletions

View file

@ -176,6 +176,15 @@ config WDT_DW_IRQ
default 12
endif
if RTC
config RTC_DW
def_bool y
config RTC_DW_BASE_ADDR
default 0xB0000400
config RTC_DW_IRQ
default 11
endif
config KERNEL_INIT_PRIORITY_DEFAULT
default 40