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:
Bartosz Bilas 2023-11-25 17:29:54 +01:00 committed by Fabio Baltieri
parent db1c21bfd7
commit 08a4829682

View file

@ -5,7 +5,9 @@
menuconfig ETH_ESP32
bool "ESP32 Ethernet driver"
default y
depends on SOC_SERIES_ESP32
depends on DT_HAS_ESPRESSIF_ESP32_ETH_ENABLED
select MDIO
help
Enable ESP32 Ethernet driver.