arch: arm: nxp: Fixup HAS_MCUX_RTC
When the RTC support get added we had a select on HAS_RTC, however this Kconfig symbol didn't exist. Clean this up to match the pattern of HAS_MCUX_RTC. The driver now depends on that and the SoC selects it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
993f6db76d
commit
8321b6b64f
3 changed files with 8 additions and 2 deletions
|
@ -48,11 +48,11 @@ config SOC_MKW41Z4
|
||||||
select HAS_MCUX
|
select HAS_MCUX
|
||||||
select HAS_MCUX_ADC16
|
select HAS_MCUX_ADC16
|
||||||
select HAS_MCUX_LPUART
|
select HAS_MCUX_LPUART
|
||||||
|
select HAS_MCUX_RTC
|
||||||
select HAS_MCUX_SIM
|
select HAS_MCUX_SIM
|
||||||
select HAS_MCUX_TRNG
|
select HAS_MCUX_TRNG
|
||||||
select HAS_OSC
|
select HAS_OSC
|
||||||
select HAS_MCG
|
select HAS_MCG
|
||||||
select HAS_RTC
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
menuconfig RTC_MCUX
|
menuconfig RTC_MCUX
|
||||||
bool
|
bool
|
||||||
prompt "MCUX RTC driver"
|
prompt "MCUX RTC driver"
|
||||||
depends on RTC && HAS_MCUX
|
depends on RTC && HAS_MCUX_RTC
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable support for mcux rtc driver.
|
Enable support for mcux rtc driver.
|
||||||
|
|
|
@ -55,6 +55,12 @@ config HAS_MCUX_RNGA
|
||||||
Set if the random number generator accelerator (RNGA) module is
|
Set if the random number generator accelerator (RNGA) module is
|
||||||
present in the SoC.
|
present in the SoC.
|
||||||
|
|
||||||
|
config HAS_MCUX_RTC
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Set if the real time clock (RTC) modules is present in the SoC.
|
||||||
|
|
||||||
config HAS_MCUX_SIM
|
config HAS_MCUX_SIM
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue