rtc: Remove default value from platform-specific options
This patch removes the default value from some platform/SoC specific options which are declared in drivers/rtc/Kconfig because 1) most of the time they are not valid values and 2) the correct values are already set in the SoC Kconfig (e.g. arch/x86/soc/quark_d2000/Kconfig). For Quark D2000, the RTC_IRQ_PRI default value is set to '0' since the priority information is ignored by the interrupt registering system (the interrupt vectors are fixed in this SoC). Change-Id: I70de889cfd22e65f0e7acf7e57ddc6439f028394 Signed-off-by: Andre Guedes <andre.guedes@intel.com>
This commit is contained in:
parent
0e60f325f8
commit
055d775be6
3 changed files with 4 additions and 3 deletions
|
@ -171,6 +171,8 @@ endif # WATCHDOG
|
|||
if RTC
|
||||
config RTC_IRQ
|
||||
default 2
|
||||
config RTC_IRQ_PRI
|
||||
default 0
|
||||
config RTC_DW
|
||||
def_bool y
|
||||
|
||||
|
|
|
@ -261,6 +261,8 @@ endif # WATCHDOG
|
|||
if RTC
|
||||
config RTC_IRQ
|
||||
default 11
|
||||
config RTC_IRQ_PRI
|
||||
default 2
|
||||
config RTC_DW
|
||||
def_bool y
|
||||
|
||||
|
|
|
@ -29,13 +29,11 @@ if RTC
|
|||
|
||||
config RTC_IRQ
|
||||
int "Interrupt number"
|
||||
default 0
|
||||
help
|
||||
RTC interrupt number
|
||||
|
||||
config RTC_IRQ_PRI
|
||||
int "Interrupt priority"
|
||||
default 2
|
||||
help
|
||||
RTC interrupt priority.
|
||||
|
||||
|
@ -81,7 +79,6 @@ config RTC_DW_CLOCK_GATE_SUBSYS
|
|||
config RTC_DW_BASE_ADDR
|
||||
hex "Base address"
|
||||
depends on RTC_DW
|
||||
default 0x00000000
|
||||
help
|
||||
Base address to access RTC DesignWare controller registers
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue