soc: arm: nordic: introduce Kconfig option for LE Coded PHY

We, now, have multiple nRF52x SoCs with 2.4GHz
Radio with LE Coded PHY Capabilities. Therefore,
we would like to have a Kconfig option and select
it in the corresponding SoCs. This allows us to
simplify several #ifdef blocks in the nRF Bluetooth
Controller that would, otherwise, require listing
all nRF SoCS with LE Coded PHY support.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2019-09-19 17:15:03 +02:00 committed by Carles Cufí
commit c799e953ee
2 changed files with 5 additions and 0 deletions

View file

@ -104,6 +104,9 @@ config HAS_HW_NRF_QDEC
config HAS_HW_NRF_QSPI
bool
config HAS_HW_NRF_RADIO_BLE_CODED
bool
config HAS_HW_NRF_RADIO_IEEE802154
bool

View file

@ -63,6 +63,7 @@ config SOC_NRF52811
select HAS_HW_NRF_PPI
select HAS_HW_NRF_PWM0
select HAS_HW_NRF_QDEC
select HAS_HW_NRF_RADIO_BLE_CODED
select HAS_HW_NRF_RADIO_IEEE802154
select HAS_HW_NRF_RNG
select HAS_HW_NRF_RTC0
@ -188,6 +189,7 @@ config SOC_NRF52840
select HAS_HW_NRF_PWM3
select HAS_HW_NRF_QDEC
select HAS_HW_NRF_QSPI
select HAS_HW_NRF_RADIO_BLE_CODED
select HAS_HW_NRF_RADIO_IEEE802154
select HAS_HW_NRF_RNG
select HAS_HW_NRF_RTC0