drivers: ethernet: esp32: fix Kconfig
Add the missing dependency of the node status value and enable the driver by default when they are met. Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
This commit is contained in:
parent
db1c21bfd7
commit
08a4829682
1 changed files with 2 additions and 0 deletions
|
|
@ -5,7 +5,9 @@
|
||||||
|
|
||||||
menuconfig ETH_ESP32
|
menuconfig ETH_ESP32
|
||||||
bool "ESP32 Ethernet driver"
|
bool "ESP32 Ethernet driver"
|
||||||
|
default y
|
||||||
depends on SOC_SERIES_ESP32
|
depends on SOC_SERIES_ESP32
|
||||||
|
depends on DT_HAS_ESPRESSIF_ESP32_ETH_ENABLED
|
||||||
select MDIO
|
select MDIO
|
||||||
help
|
help
|
||||||
Enable ESP32 Ethernet driver.
|
Enable ESP32 Ethernet driver.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue