diff options
author | Tom Rini <trini@konsulko.com> | 2019-07-15 18:56:24 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-15 18:56:24 -0400 |
commit | 9c94e0a64490b90d48995a8230499167c0bdca68 (patch) | |
tree | ac81e19a3fd7733923bb272757fa8243134d1cb9 /drivers/net/Kconfig | |
parent | 6674dc77c2f735ec9bc02434626125698d2755ff (diff) | |
parent | 0dc97fc3d8cd8c4154f63c9ea74f5e73ee48fa6c (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index e6a4fdf30e..635f8d72c2 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -11,6 +11,29 @@ config DM_ETH This is currently implemented in net/eth-uclass.c Look in include/net.h for details. +config DM_MDIO + bool "Enable Driver Model for MDIO devices" + depends on DM_ETH && PHYLIB + help + Enable driver model for MDIO devices + + Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as + stand-alone devices. Useful in particular for systems that support + DM_ETH and have a stand-alone MDIO hardware block shared by multiple + Ethernet interfaces. + This is currently implemented in net/mdio-uclass.c + Look in include/miiphy.h for details. + +config MDIO_SANDBOX + depends on DM_MDIO && SANDBOX + default y + bool "Sandbox: Mocked MDIO driver" + help + This driver implements dummy read/write/reset MDIO functions mimicking + a bus with a single PHY. + + This driver is used in for testing in test/dm/mdio.c + menuconfig NETDEVICES bool "Network device support" depends on NET |