xref: /openbmc/u-boot/drivers/net/Kconfig (revision f0892401)
1config DM_ETH
2	bool "Enable Driver Model for Ethernet drivers"
3	depends on DM
4	help
5	  Enable driver model for Ethernet.
6
7	  The eth_*() interface will be implemented by the UC_ETH class
8	  This is currently implemented in net/eth.c
9	  Look in include/net.h for details.
10
11menuconfig NETDEVICES
12	bool "Network device support"
13	depends on NET
14	default y if DM_ETH
15	help
16	  You must select Y to enable any network device support
17	  Generally if you have any networking support this is a given
18
19	  If unsure, say Y
20
21if NETDEVICES
22
23config ETH_SANDBOX
24	depends on DM_ETH && SANDBOX
25	default y
26	bool "Sandbox: Mocked Ethernet driver"
27	help
28	  This driver simply responds with fake ARP replies and ping
29	  replies that are used to verify network stack functionality
30
31	  This driver is particularly useful in the test/dm/eth.c tests
32
33config ETH_SANDBOX_RAW
34	depends on DM_ETH && SANDBOX
35	default y
36	bool "Sandbox: Bridge to Linux Raw Sockets"
37	help
38	  This driver is a bridge from the bottom of the network stack
39	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
40	  network traffic to be tested from within sandbox. See
41	  board/sandbox/README.sandbox for more details.
42
43config ETH_DESIGNWARE
44	bool "Synopsys Designware Ethernet MAC"
45	help
46	  This MAC is present in SoCs from various vendors. It supports
47	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
48	  provide the PHY (physical media interface).
49
50endif # NETDEVICES
51