drivers timer nrf: Correct dependencies for simulation

Let's make the nrf rtc kconfig depend on the SOC_COMPATIBLE
options which are set both by the real and simulated targets
so the configuration matches in both cases.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-10-18 09:04:24 +02:00 committed by Carles Cufí
commit 7e852d1708

View file

@ -19,7 +19,7 @@ if NRF_RTC_TIMER
config NRF_RTC_TIMER_USER_CHAN_COUNT
int "Additional channels that can be used"
default 2 if NRF_802154_RADIO_DRIVER && SOC_NRF5340_CPUNET
default 2 if NRF_802154_RADIO_DRIVER && SOC_COMPATIBLE_NRF5340_CPUNET
default 3 if NRF_802154_RADIO_DRIVER
default 0
help