net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle
[oweals/u-boot.git] / drivers / net / Kconfig
index 39ce4e8a1fc6151fb9934045a41b8184bc5bae01..77d0b3a01f433dd10e678a387caa4dda7dd9d7ad 100644 (file)
@@ -156,12 +156,15 @@ config ETH_SANDBOX_RAW
 config ETH_DESIGNWARE
        bool "Synopsys Designware Ethernet MAC"
        select PHYLIB
+       imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
        help
          This MAC is present in SoCs from various vendors. It supports
          100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
          provide the PHY (physical media interface).
 
 config ETH_DESIGNWARE_SOCFPGA
+       select REGMAP
+       select SYSCON
        bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
        depends on DM_ETH && ETH_DESIGNWARE
        help
@@ -432,12 +435,7 @@ config SNI_AVE
          This driver implements support for the Socionext AVE Ethernet
          controller, as found on the Socionext UniPhier family.
 
-config MSCC_OCELOT_SWITCH
-       bool "Ocelot switch driver"
-       depends on DM_ETH && ARCH_MSCC
-       select PHYLIB
-       help
-         This driver supports the Ocelot network switch device.
+source "drivers/net/mscc_eswitch/Kconfig"
 
 config ETHER_ON_FEC1
        bool "FEC1"