net: add Kconfig for MVGBE
authorChris Packham <judge.packham@gmail.com>
Thu, 3 May 2018 11:00:35 +0000 (23:00 +1200)
committerTom Rini <trini@konsulko.com>
Tue, 15 May 2018 01:28:38 +0000 (21:28 -0400)
Add Kconfig for MVGBE and update boards to select this.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
37 files changed:
arch/arm/mach-kirkwood/include/mach/config.h
configs/d2net_v2_defconfig
configs/dns325_defconfig
configs/dockstar_defconfig
configs/dreamplug_defconfig
configs/ds109_defconfig
configs/goflexhome_defconfig
configs/guruplug_defconfig
configs/ib62x0_defconfig
configs/iconnect_defconfig
configs/inetspace_v2_defconfig
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge5un_defconfig
configs/kmnusa_defconfig
configs/kmsugp1_defconfig
configs/kmsuv31_defconfig
configs/lschlv2_defconfig
configs/lsxhl_defconfig
configs/mgcoge3un_defconfig
configs/nas220_defconfig
configs/net2big_v2_defconfig
configs/netspace_lite_v2_defconfig
configs/netspace_max_v2_defconfig
configs/netspace_mini_v2_defconfig
configs/netspace_v2_defconfig
configs/nsa310s_defconfig
configs/openrd_base_defconfig
configs/openrd_client_defconfig
configs/openrd_ultimate_defconfig
configs/pogo_e02_defconfig
configs/portl2_defconfig
configs/sheevaplug_defconfig
drivers/net/Kconfig
include/configs/edminiv2.h
include/configs/km/km_arm.h

index 948d1e773d190f2dfc6fcaae8cd9487d7823034f..98639114dbdd17dfcfad6ba850125482cb5fc73c 100644 (file)
@@ -77,7 +77,6 @@
 #ifdef CONFIG_CMD_NET
 #define CONFIG_NETCONSOLE      /* include NetConsole support   */
 #define CONFIG_MII             /* expose smi ove miiphy interface */
-#define CONFIG_MVGBE           /* Enable Marvell Gbe Controller Driver */
 #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN        /* detect link using phy */
 #define CONFIG_ENV_OVERWRITE   /* ethaddr can be reprogrammed */
 #define CONFIG_RESET_PHY_R     /* use reset_phy() to init mv8831116 PHY */
index 3995ac99064f831016b08809168449a094794773..72db1e74a0aaa0703fcd918e8b249a8c8745d3ea 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index c46e2b447463e57c2e146b5d783e422a7bc66fb5..f64038dfe0c2a6be22f33440b526b1c3edff2136 100644 (file)
@@ -26,6 +26,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 88d6f596b27a4f5c0e2d63b28a2c67f5b68ac7aa..b7a65db37cfa1f96c9f94eb4a76cf818492fad1d 100644 (file)
@@ -21,6 +21,8 @@ CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 17c53a3445f9ead81fca93f5ada726832bd1bfc0..cbd2fb68ad928d4e31a37a37f902b23eeb9fc7fe 100644 (file)
@@ -24,6 +24,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 791a4acc7ecf14f78be7d3bc7ebd3b4d87126f98..43e92d7ef29010d2f4c901ee1299e3399ca54b5e 100644 (file)
@@ -20,6 +20,8 @@ CONFIG_MVSATA_IDE=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index d87d308ac09711f408b38688e21044ad15e180d6..3b3abd52c7f5552137da8371d6f9f638d2316468 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index c4889910687f90f45876b94e01bb53add50baae5..5389cdd07e3c3d4f89a0150cb7c29cedf060a6b6 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 9a067e36cc003b40893b94dac8e372769353371b..cb629bbfb90afbaf40e305799605ec9a72b25519 100644 (file)
@@ -25,6 +25,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 80b8ff999a555479052caac2cbdea7ef5bae7b7f..bdd01d13873c9bcbce75270c97029f481dc582af 100644 (file)
@@ -20,6 +20,8 @@ CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 6af6b66aeb96fe43ed328f3137fdbaeab29302d4..9f8677b74471f43b54088e7a1784dca49e81ee84 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 92a10c78e97d398247a1176dc926a721103372ce..5d5b485cf716d44335e90d704490cdc013ac7a24 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index a6af0d3d7eb96d30e1e01defd1c54afc35fd83d4..b07f36beaf477fabeea7ef6367c35f230f9f1ab1 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 313ef7702ee70712399af505640f9af211b68bb2..31dcd0ca1b17e99b589c2bf91128519c236fe567 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index b9ce916d57bc3fb0b0fd811d14997ecaf1582350..116369acf79befce8ce7f787c1df48cc4983fdc1 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 074c76f3ec39312cf97d41a5577865e912682f8c..be7421ca58a41e439b56287f517bbfdc0957e484 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index b0ef68cb1733d46ba6753c41c66524cccc6f2f1d..535e8693b06703345f2e7e44965897a75bb1cd10 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 6c84c1398acc7bfa299c33b5542a7ebe8efae7d0..59522e733e6c1304b6135e51d8a322c944035695 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index f602254345e4087c40ef23e3518681a717fb3ded..1ca3d1272c97b380bce45d7f93b9bf1723b66051 100644 (file)
@@ -34,6 +34,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index a48c1064432248c646fe9aa77af8d7366e443ab1..c88fe37ab163d2baf968b5847aab0477e439c149 100644 (file)
@@ -25,6 +25,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 918cc61ae07882bfd3e75f97e2d12a346db8d212..abf9cdcbfaacce7855d96d3a0f0e48824729545e 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 75ea85bad4c609dd5f55fc6326d108789ef81f8b..0299e0a70744402c4373e6a23a3f55caadcca10b 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_EFI_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index ad4eaf1c34e6b4625ef4ef8f1f821018d849c3e9..d486e4cd7bd2a607354e217b4b39132967a420b6 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 3e8fb3ab568a244c8f5badb03f7d05dfb1769729..d37146dc94bb6642a47c3dee84c21248408e2888 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 14db917c583ea0b4ee898346a94e6c7c349f6b4e..9b639c017b3050171819fe20e182771a21dd4f3b 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index b03fce7319f80f4f7c8f4f1916cc2876433e219f..ee7554fd3f98ca6b4a697c83d901c2b938850cdc 100644 (file)
@@ -29,6 +29,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 71d59a99c591e1622939a55d87fb4ac64eb8eda4..6421706de043aee326c03cb84daeb2da81e1fe62 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index 2529687414fac3295d7a4cb7200f9e175b818ee8..4e3921a671a5b06b1b1afe2cf3a0dd3b7d8ff811 100644 (file)
@@ -24,6 +24,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 75ebb22f2d3e8f3c131ed40781d78703e924fa6d..003fb172ed4d574e77316de2659538e836b277e7 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC_HW_PARTITIONING is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 533a4032488f632ef5ed162e71f95480af8416c6..fbc5b17b13334d75353368bca9b752ecf7a21f07 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC_HW_PARTITIONING is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index db90072978f18e5ed5162dd88136a271462e476d..bba1bbeb7a4a08387c711ce40731607bc9d45735 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC_HW_PARTITIONING is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 8e01582b55659188164ed3d31bdb8a92db735aed..6d1af7748d575dd63030f6634f28f6fc1300d3cc 100644 (file)
@@ -20,6 +20,8 @@ CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 # CONFIG_MMC is not set
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 09abbae57614a7c37f5a031ab141c99430adcb18..3c049c4449d2d4e11da72a550a0a64dd3f232312 100644 (file)
@@ -31,6 +31,8 @@ CONFIG_BOOTCOUNT_RAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_KIRKWOOD_SPI=y
index d921666ae84681baeb754c46e1651c394ff3bd3b..25a8e5340e07089b6c477a4f5857426a5c18b3a7 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_MVSATA_IDE=y
+CONFIG_NETDEVICES=y
+CONFIG_MVGBE=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 3a374d88718397d6395113a8cb51d6ee0e2cf82e..c962d7a72c0c6cb1808813ab64c78f01a1b2fb71 100644 (file)
@@ -178,6 +178,14 @@ config FTMAC100
        help
          This MAC is present in Andestech SoCs.
 
+config MVGBE
+       bool "Marvell Orion5x/Kirkwood network interface support"
+       depends on KIRKWOOD || ORION5X
+       select PHYLIB
+       help
+         This driver supports the network interface units in the
+         Marvell Orion5x and Kirkwood SoCs
+
 config MVNETA
        bool "Marvell Armada XP/385/3700 network interface support"
        depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
index a1731d653b2a0d0bd5898dfd5d4978990495cada..9882d84e29c756f93ebc922ead33f869328754ac 100644 (file)
  */
 
 #ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE                           /* Enable Marvell GbE Driver */
 #define CONFIG_MVGBE_PORTS     {1}             /* enable port 0 only */
 #define CONFIG_SKIP_LOCAL_MAC_RANDOMIZATION    /* don't randomize MAC */
 #define CONFIG_PHY_BASE_ADR    0x8
index 9245d32ba919ad4cb3d0281acef2cc0129d403bb..add3dae5bbea22089799966b984e904a83c77ee9 100644 (file)
  */
 #define CONFIG_NETCONSOLE      /* include NetConsole support   */
 #define CONFIG_MII             /* expose smi ove miiphy interface */
-#define CONFIG_MVGBE           /* Enable Marvell Gbe Controller Driver */
 #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN        /* detect link using phy */
 #define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
 #define CONFIG_PHY_BASE_ADR    0