Convert CONFIG_SYS_FSL_QMAN_V3 et al to Kconfig
[platform/kernel/u-boot.git] / drivers / net / Kconfig
index 56f9416..53742b2 100644 (file)
@@ -312,6 +312,7 @@ config ETH_DESIGNWARE_MESON8B
 config ETH_DESIGNWARE_SOCFPGA
        select REGMAP
        select SYSCON
+       select DW_ALTDESCRIPTOR
        bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
        depends on DM_ETH && ETH_DESIGNWARE
        help
@@ -326,6 +327,10 @@ config ETH_DESIGNWARE_S700
          This provides glue layer to use Synopsys Designware Ethernet MAC
          present on Actions S700 SoC.
 
+config DW_ALTDESCRIPTOR
+       bool "Designware Ethernet MAC uses alternate (enhanced) descriptors"
+       depends on ETH_DESIGNWARE
+
 config ETHOC
        bool "OpenCores 10/100 Mbps Ethernet MAC"
        help
@@ -344,7 +349,7 @@ config FEC_MXC_MDIO_BASE
 
 config FEC_MXC
        bool "FEC Ethernet controller"
-       depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || VF610
+       depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610
        help
          This driver supports the 10/100 Fast Ethernet controller for
          NXP i.MX processors.
@@ -352,6 +357,9 @@ config FEC_MXC
 config FMAN_ENET
        bool "Freescale FMan ethernet support"
        depends on ARM || PPC
+       select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
+               ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
+               ARCH_T2080 || ARCH_T4240
        help
          This driver support the Freescale FMan Ethernet controller
 
@@ -365,6 +373,12 @@ config SYS_QE_FMAN_FW_LENGTH
        depends on FMAN_ENET || QE || U_QE
        default 0x10000
 
+config SYS_FMAN_V3
+       bool
+       select FSL_MEMAC
+       help
+         SoC has FMan v3 with mEMAC
+
 config FTMAC100
        bool "Ftmac100 Ethernet Support"
        help
@@ -395,19 +409,27 @@ config FTGMAC100
          offers high-priority transmit queue for QoS and CoS
          applications.
 
+config SYS_DISCOVER_PHY
+       bool
 
 config MCFFEC
        bool "ColdFire Ethernet Support"
        depends on DM_ETH
        select PHYLIB
+       select SYS_DISCOVER_PHY
        help
          This driver supports the network interface units in the
          ColdFire family.
 
+config SYS_UNIFY_CACHE
+       depends on MCFFEC
+       bool "Invalidate icache during ethernet operations"
+
 config FSLDMAFEC
         bool "ColdFire DMA Ethernet Support"
        depends on DM_ETH
        select PHYLIB
+       select SYS_DISCOVER_PHY
        help
          This driver supports the network interface units in the
          ColdFire family.
@@ -501,6 +523,11 @@ config MT7628_ETH
          The MediaTek MT7628 ethernet interface is used on MT7628 and
          MT7688 based boards.
 
+config NET_NPCM750
+       bool "Nuvoton NPCM750 Ethernet MAC"
+       help
+         support NPCM750 EMAC
+
 config NET_OCTEON
        bool "MIPS Octeon ethernet support"
        depends on ARCH_OCTEON
@@ -722,7 +749,9 @@ config RENESAS_RAVB
 config MPC8XX_FEC
        bool "Fast Ethernet Controller on MPC8XX"
        depends on MPC8xx
+       depends on DM_ETH
        select MII
+       select SYS_DISCOVER_PHY
        help
          This driver implements support for the Fast Ethernet Controller
          on MPC8XX
@@ -815,6 +844,10 @@ config SYS_DPAA_QBMAN
        help
          QBman fixups to allow deep sleep in DPAA 1 SOCs
 
+config SYS_FSL_QMAN_V3
+       bool # QMAN version 3
+       depends on SYS_DPAA_QBMAN
+
 config TSEC_ENET
        select PHYLIB
        bool "Enable Three-Speed Ethernet Controller"