ext: mcux: Add HAS_MCUX_ENET config
Adds a new config HAS_MCUX_ENET to constrain which socs can enable the mcux ethernet driver. This will prevent users from enabling the driver on socs like kl25z or kw41z which do not have ethernet mac hardware. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
5bd5e4e440
commit
605e599b1a
|
@ -6,7 +6,7 @@
|
|||
|
||||
menuconfig ETH_MCUX
|
||||
bool "MCUX Ethernet driver"
|
||||
depends on HAS_MCUX
|
||||
depends on HAS_MCUX_ENET
|
||||
help
|
||||
Enable MCUX Ethernet driver. Note, this driver performs one shot PHY
|
||||
setup. There is no support for PHY disconnect, reconnect or
|
||||
|
|
|
@ -22,6 +22,11 @@ config HAS_MCUX_CCM
|
|||
help
|
||||
Set if the clock control module (CCM) module is present in the SoC.
|
||||
|
||||
config HAS_MCUX_ENET
|
||||
bool
|
||||
help
|
||||
Set if the ethernet (ENET) module is present in the SoC.
|
||||
|
||||
config HAS_MCUX_FTM
|
||||
bool
|
||||
help
|
||||
|
|
|
@ -13,6 +13,7 @@ config SOC_MIMXRT1021
|
|||
bool "SOC_MIMXRT1021"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_CCM
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_IGPIO
|
||||
select HAS_MCUX_LPI2C
|
||||
select HAS_MCUX_LPSPI
|
||||
|
@ -28,6 +29,7 @@ config SOC_MIMXRT1051
|
|||
bool "SOC_MIMXRT1051"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_CCM
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_IGPIO
|
||||
select HAS_MCUX_LPI2C
|
||||
select HAS_MCUX_LPSPI
|
||||
|
@ -43,6 +45,7 @@ config SOC_MIMXRT1052
|
|||
bool "SOC_MIMXRT1052"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_CCM
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_IGPIO
|
||||
select HAS_MCUX_LPI2C
|
||||
select HAS_MCUX_LPSPI
|
||||
|
@ -58,6 +61,7 @@ config SOC_MIMXRT1061
|
|||
bool "SOC_MIMXRT1061"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_CCM
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_IGPIO
|
||||
select HAS_MCUX_LPI2C
|
||||
select HAS_MCUX_LPUART
|
||||
|
@ -72,6 +76,7 @@ config SOC_MIMXRT1062
|
|||
bool "SOC_MIMXRT1062"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_CCM
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_IGPIO
|
||||
select HAS_MCUX_LPI2C
|
||||
select HAS_MCUX_LPUART
|
||||
|
@ -86,6 +91,7 @@ config SOC_MIMXRT1064
|
|||
bool "SOC_MIMXRT1064"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_CCM
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_IGPIO
|
||||
select HAS_MCUX_LPUART
|
||||
select HAS_MCUX_TRNG
|
||||
|
|
|
@ -13,6 +13,7 @@ config SOC_MK64F12
|
|||
bool "SOC_MK64F12"
|
||||
select HAS_MCUX
|
||||
select HAS_MCUX_ADC16
|
||||
select HAS_MCUX_ENET
|
||||
select HAS_MCUX_FTM
|
||||
select HAS_MCUX_RNGA
|
||||
select HAS_MCUX_SIM
|
||||
|
|
Loading…
Reference in a new issue