]> git.sur5r.net Git - u-boot/commitdiff
Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig
authorSimon Glass <sjg@chromium.org>
Sun, 5 Apr 2015 22:07:34 +0000 (16:07 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:36 +0000 (11:11 -0600)
Move this to Kconfig and clean up board config files that use it. Also
rename it to CONFIG_ETH_DESIGNWARE to fit with the naming that exists
in drivers/net/Kconfig.

Signed-off-by: Simon Glass <sjg@chromium.org>
Version 1:
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
68 files changed:
arch/arm/cpu/arm926ejs/spear/cpu.c
arch/arm/cpu/armv7/socfpga/misc.c
board/bf609-ezkit/bf609-ezkit.c
board/spear/spear300/spear300.c
board/spear/spear310/spear310.c
board/spear/spear320/spear320.c
board/spear/spear600/spear600.c
board/st/stv0991/stv0991.c
configs/A20-OLinuXino-Lime2_defconfig
configs/A20-OLinuXino-Lime_defconfig
configs/A20-OLinuXino_MICRO_defconfig
configs/Bananapi_defconfig
configs/Bananapro_defconfig
configs/CSQ_CS908_defconfig
configs/Colombus_defconfig
configs/Cubieboard2_defconfig
configs/Cubietruck_defconfig
configs/Hummingbird_A31_defconfig
configs/Linksprite_pcDuino3_Nano_defconfig
configs/Linksprite_pcDuino3_defconfig
configs/Mele_I7_defconfig
configs/Mele_M3_defconfig
configs/Mele_M5_defconfig
configs/Mele_M9_defconfig
configs/Orangepi_defconfig
configs/Orangepi_mini_defconfig
configs/Wits_Pro_A20_DKT_defconfig
configs/axs101_defconfig
configs/axs103_defconfig
configs/bf609-ezkit_defconfig
configs/galileo_defconfig
configs/i12-tvbox_defconfig
configs/mixtile_loftq_defconfig
configs/socfpga_cyclone5_defconfig
configs/socfpga_socrates_defconfig
configs/spear300_defconfig
configs/spear300_nand_defconfig
configs/spear300_usbtty_defconfig
configs/spear300_usbtty_nand_defconfig
configs/spear310_defconfig
configs/spear310_nand_defconfig
configs/spear310_pnor_defconfig
configs/spear310_usbtty_defconfig
configs/spear310_usbtty_nand_defconfig
configs/spear310_usbtty_pnor_defconfig
configs/spear320_defconfig
configs/spear320_nand_defconfig
configs/spear320_pnor_defconfig
configs/spear320_usbtty_defconfig
configs/spear320_usbtty_nand_defconfig
configs/spear320_usbtty_pnor_defconfig
configs/spear600_defconfig
configs/spear600_nand_defconfig
configs/spear600_usbtty_defconfig
configs/spear600_usbtty_nand_defconfig
configs/stv0991_defconfig
configs/tb100_defconfig
configs/x600_defconfig
drivers/net/Kconfig
drivers/net/Makefile
include/configs/axs101.h
include/configs/bf609-ezkit.h
include/configs/socfpga_common.h
include/configs/spear-common.h
include/configs/stv0991.h
include/configs/sunxi-common.h
include/configs/tb100.h
include/configs/x600.h

index 697e0945d79cc80a9051c405e96d10d4771f3357..1ce9db7a7da54176e38bc6bb17c4951022eb770c 100644 (file)
@@ -32,7 +32,7 @@ int arch_cpu_init(void)
        periph_clk_cfg |= CONFIG_SPEAR_UART48M;
        writel(periph_clk_cfg, &misc_p->periph_clk_cfg);
 #endif
-#if defined(CONFIG_DESIGNWARE_ETH)
+#if defined(CONFIG_ETH_DESIGNWARE)
        periph1_clken |= MISC_ETHENB;
 #endif
 #if defined(CONFIG_DW_UDC)
index 7873c38e2b1445bb414471cd084b5b2eea60bd4f..0f8b4d095d40271324cb57b548cb447a16bbe171 100644 (file)
@@ -49,7 +49,7 @@ void enable_caches(void)
 /*
  * DesignWare Ethernet initialization
  */
-#ifdef CONFIG_DESIGNWARE_ETH
+#ifdef CONFIG_ETH_DESIGNWARE
 int cpu_eth_init(bd_t *bis)
 {
 #if CONFIG_EMAC_BASE == SOCFPGA_EMAC0_ADDRESS
index 43a43306bbc95023b24b2f8925120da0a4fe4928..86da028bcea1d41b0e21e647105fb6a462fc5219 100644 (file)
@@ -33,7 +33,7 @@ int board_early_init_f(void)
        return 0;
 }
 
-#ifdef CONFIG_DESIGNWARE_ETH
+#ifdef CONFIG_ETH_DESIGNWARE
 int board_eth_init(bd_t *bis)
 {
        int ret = 0;
index 6b6bd9f29d521b79125ef35106e17f2fdd3c304d..396b5bdf60ab00087106b500a8786c6eda5594ed 100644 (file)
@@ -51,7 +51,7 @@ int board_eth_init(bd_t *bis)
 {
        int ret = 0;
 
-#if defined(CONFIG_DESIGNWARE_ETH)
+#if defined(CONFIG_ETH_DESIGNWARE)
        u32 interface = PHY_INTERFACE_MODE_MII;
        if (designware_initialize(CONFIG_SPEAR_ETHBASE, interface) >= 0)
                ret++;
index a4c6a8edb0d4f1f9fa5d03e30ecec3b9792b8ad1..6f39ef1b407af9ffa5d2fb66f655d80f762d63b4 100644 (file)
@@ -52,7 +52,7 @@ int board_eth_init(bd_t *bis)
 {
        int ret = 0;
 
-#if defined(CONFIG_DESIGNWARE_ETH)
+#if defined(CONFIG_ETH_DESIGNWARE)
        u32 interface = PHY_INTERFACE_MODE_MII;
        if (designware_initialize(CONFIG_SPEAR_ETHBASE, interface) >= 0)
                ret++;
index ab732a724c7fb87235b17a3f038696c78655ec73..52196afd1745084dea121a38cd3a1dfefa75e20a 100644 (file)
@@ -63,7 +63,7 @@ int board_eth_init(bd_t *bis)
 {
        int ret = 0;
 
-#if defined(CONFIG_DESIGNWARE_ETH)
+#if defined(CONFIG_ETH_DESIGNWARE)
        u32 interface = PHY_INTERFACE_MODE_MII;
        if (designware_initialize(CONFIG_SPEAR_ETHBASE, interface) >= 0)
                ret++;
index 8472002f7495d6401b75a28110f1467887a0f357..fc0918f91d895f7983636aac6ab8f930197b5fea 100644 (file)
@@ -46,7 +46,7 @@ int board_eth_init(bd_t *bis)
 {
        int ret = 0;
 
-#if defined(CONFIG_DESIGNWARE_ETH)
+#if defined(CONFIG_ETH_DESIGNWARE)
        u32 interface = PHY_INTERFACE_MODE_MII;
 #if defined(CONFIG_DW_AUTONEG)
        interface = PHY_INTERFACE_MODE_GMII;
index f465699b55beb8d9df77e49865a225c6cec8012f..38f6e1da833a1600f69832573f2af7cd7652cf72 100644 (file)
@@ -94,7 +94,7 @@ int board_eth_init(bd_t *bis)
 {
        int ret = 0;
 
-#if defined(CONFIG_DESIGNWARE_ETH)
+#if defined(CONFIG_ETH_DESIGNWARE)
        u32 interface = PHY_INTERFACE_MODE_MII;
        if (designware_initialize(GMAC_BASE_ADDR, interface) >= 0)
                ret++;
index 4fcff923ba7c3470f4fa0ea166c7d86669de7fc0..f7231c612db3b909bdb06c8aecc39eb97a33e2b8 100644 (file)
@@ -10,3 +10,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=480
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 8d71d5f018d46d9a513da5516df68aa2467f8bbc..7868d6edccad06d17d6fcfc369f81a4b4f2f0d61 100644 (file)
@@ -7,3 +7,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=480
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 377bd4692ad476e8cc58cbe5d53d9e8ed7b305bd..11fb76096f57055e7779d55e23a8487f94e83eea 100644 (file)
@@ -11,3 +11,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=384
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index bad6081fe4b9a12fb4285c14d30611e6b883f54c..36a867114eefa5fd34266095d351d1b06065711c 100644 (file)
@@ -8,3 +8,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 2274c80b015b5eab7cd7f43e818e669ad135582a..236a99240f7a113bfcb3b6fcdba40892bb4abcf1 100644 (file)
@@ -10,3 +10,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index ec84acb0285845d3b8163cf248fb35bd460e4196..776636ef436981ebc602df3f2709660ed4643b87 100644 (file)
@@ -13,3 +13,6 @@ CONFIG_AXP221_ALDO1_VOLT=3300
 # No Vbus gpio for either usb
 CONFIG_USB1_VBUS_PIN=""
 CONFIG_USB2_VBUS_PIN=""
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index d6aad5e6747f04071727074737b4e2acf7ec1b27..810c88f23076990144bf69f3d0e3467a3279d581 100644 (file)
@@ -10,3 +10,6 @@ CONFIG_DRAM_ZQ=251
 CONFIG_AXP221_ALDO1_VOLT=3300
 # No Vbus gpio for usb1
 CONFIG_USB1_VBUS_PIN=""
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index d866ad1e77fa285e6d735659375bcbd93346809f..7f65c1d4726474fdfa5e21714654ab38357767bc 100644 (file)
@@ -8,3 +8,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=480
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index fa48331fc51294fe2b114644fefa46b9fd54e379..b8418f7ebac0581945199828dfbfccfbb27c939e 100644 (file)
@@ -9,3 +9,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 7fd5a2a681c1021f17e2105df2f65d9eb9fa50f7..8a11e09d8795ca7182814a5bd6006c096e73abed 100644 (file)
@@ -14,3 +14,6 @@ CONFIG_AXP221_ALDO1_VOLT=3300
 CONFIG_USB1_VBUS_PIN="PH24"
 # No Vbus gpio for usb2
 CONFIG_USB2_VBUS_PIN=""
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 15a883aa15b76e60db28539af11dcc288674932d..9d171bd4ffd9b2043e48ea92354d7c441f117d4a 100644 (file)
@@ -9,3 +9,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=408
 CONFIG_DRAM_ZQ=122
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index ff817d546eaa071dc1cd4db9f3923492b042385b..8c76a736b1257ccdf3896107b5a121380c8c44e1 100644 (file)
@@ -14,3 +14,6 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_OF_SEPARATE=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 0e9a9500f2f4017c7ed99033388c778c3aa07303..e91d507f4dd97ff6c35e8de477f134364f3452b3 100644 (file)
@@ -24,3 +24,6 @@ CONFIG_AXP221_ALDO1_VOLT=3300
 CONFIG_USB1_VBUS_PIN="PC27"
 # No Vbus gpio for usb2
 CONFIG_USB2_VBUS_PIN=""
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index a28e0a0a45d0414a4664a48f2c856bda94de051b..a74dd2df25a6e9a1bc7effb362fd4055dfd1fd0a 100644 (file)
@@ -10,3 +10,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=384
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 14423182ae70c98f1e931aecc9815341ebdbc864..d0f0425a9282ab2a3602011131a086c785bf0a8d 100644 (file)
@@ -11,3 +11,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=122
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index f9d4ccc415626549e86caa02564d0eb7e7ad7140..592322d41f538a1663477f6e10f6553b3f20f6e8 100644 (file)
@@ -18,3 +18,6 @@ CONFIG_AXP221_ALDO1_VOLT=3300
 CONFIG_USB1_VBUS_PIN="PC27"
 # No Vbus gpio for usb2
 CONFIG_USB2_VBUS_PIN=""
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 0c39f70203302c148a40c9844517ac9386f52269..5bf9cacc4ca2eb0cca20fbceeb14fd27ec379577 100644 (file)
@@ -18,3 +18,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 733e07fa96a01a7b471dda1f5ac044313082f86b..fce05555dde52294ab78170a5f0e303749e8a45c 100644 (file)
@@ -21,3 +21,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 9147ead6b4dbdb30a27803af65b8cfff19b0b6bc..92c33b399591743d222c15f6078741963b06d416 100644 (file)
@@ -13,3 +13,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=384
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index e5e1d8769ad35c4f8a9e3007f2ff4d48b8b8c5d9..c97628d6065bcc2a7d73392e5f4dabf193490a60 100644 (file)
@@ -4,3 +4,6 @@ CONFIG_ARC_CACHE_LINE_SHIFT=5
 CONFIG_TARGET_AXS101=y
 CONFIG_SYS_TEXT_BASE=0x81000000
 CONFIG_SYS_CLK_FREQ=750000000
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 7d662add419f1b1a5d522aa234b9f4327531ee4a..e92fd7c4a06d8d24862d4a1e9fd9ee5e94ac234f 100644 (file)
@@ -3,3 +3,6 @@ CONFIG_ISA_ARCV2=y
 CONFIG_TARGET_AXS101=y
 CONFIG_SYS_TEXT_BASE=0x81000000
 CONFIG_SYS_CLK_FREQ=50000000
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 2bfb6a54bca73c9f37a77772c1a92501505b3020..96f746ed5c00f58e76d7b07d0fb541a5adae5f8e 100644 (file)
@@ -1,2 +1,5 @@
 CONFIG_BLACKFIN=y
 CONFIG_TARGET_BF609_EZKIT=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index f2086514be98713c422b4ed87659bc1be36b03d6..9b0f969c53db684063872e90e3243d0072488fe4 100644 (file)
@@ -4,3 +4,6 @@ CONFIG_TARGET_GALILEO=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_SEPARATE=y
 CONFIG_DEFAULT_DEVICE_TREE="galileo"
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 157997f00140be9ae4e5ef22828e2ab43920e047..b10f4d0e76da3db0c64d8bc84dc78fcab847a3d6 100644 (file)
@@ -7,3 +7,6 @@ CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=384
 CONFIG_DRAM_ZQ=127
 CONFIG_DRAM_EMR1=4
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 47453cd362ad2ddbb63c485ca469a477e3adb709..8275df846248ea280504e3fb9dc407ba2f2466c8 100644 (file)
@@ -19,3 +19,6 @@ CONFIG_AXP221_ALDO1_VOLT=3300
 CONFIG_USB1_VBUS_PIN="PH24"
 # No Vbus gpio for usb2
 CONFIG_USB2_VBUS_PIN=""
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 56b618365984a946547a2e0b4d301fb9f549cec3..6c982abb0331b5f9062013ff078122138c60750b 100644 (file)
@@ -3,3 +3,6 @@ CONFIG_ARM=y
 CONFIG_TARGET_SOCFPGA_CYCLONE5=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socdk"
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index d68b9cc2884252e3612caa198679d9e810c3569a..c81ab0fa8d49478be17b3e95d53e31f142f602db 100644 (file)
@@ -3,3 +3,6 @@ CONFIG_ARM=y
 CONFIG_TARGET_SOCFPGA_CYCLONE5=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socrates"
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 25a08df34ee57fa2396636d2ab525490295eb774..df0b1907f812030086f2a1d3001bd8286b51ec24 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear300"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR300=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index a4b70e80900e1703103e458b3a0b5bb865a25b8e..a49492c78339b7281b4bfceafe495c022b2daf1d 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear300,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR300=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index d750cf49d73005c5e6a9e7e7486a1116cfcfec9d..3d60d7f36f014e53c1745ce0ac50d265c1fce765 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear300,usbtty"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR300=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 8bafdb539682a11461ae0048ec5bca863215504f..ffe4f5951b2a5b7bd86bcfdcbed04f273a4c05a2 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear300,usbtty,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR300=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 8a9ec859a00155a80e4c63c6c409b3c4e79691d8..16a6bc3a571950c9227ada3d223715c95fdfee84 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear310"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR310=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 1439ac53d2e5c5d84bc58cde899e6fa3a554c0df..05e3c966d16da9b20b42f5f9d9b2de9f0d41c4c3 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear310,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR310=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 19604b3fed5db27215d14aaae7f50106212f9f22..384cb541c0b1b68fb6c2e9354d299153c54d8f00 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear310,FLASH_PNOR"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR310=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 6342a565121275c657405f5ff73b8c71c6fc2cfb..0115f2cabef7d3ac6311aa037c6b00d1af5d07ab 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear310,usbtty"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR310=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 5b9f1f6d70500715bd85bbd05ef943aebe9c5f24..2d82b66c064b91fbccf0b7cc989229f3fbead847 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear310,usbtty,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR310=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 0567936ac67cd441878b21e87dacf729c8e3e6f2..579df36631ddab399d57baccfe8638bb490487ea 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear310,usbtty,FLASH_PNOR"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR310=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 3d91bb186e7a88987c97e7c1d05d68ba08cec2d7..7bd51a8d05cac1144d820fbef2996a2e315fd728 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear320"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR320=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index fd0f908d3a87ab5c54839645cc22720fbaf6e34f..d7c995c2df27e4e168541e783607f29798501a21 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear320,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR320=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 6cce3164603323fdee53c40613e0959089497bb2..a56a4e079ba79763a7afdb61ee2eccf86c1c3d72 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear320,FLASH_PNOR"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR320=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 7ad3d8413e9812578616cab4fc60dce2a9fcbaf5..c2fb4818194685396f6581c560ebef652fab6ca1 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear320,usbtty"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR320=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index a5ad90bb05feaa1045779523fee582eae32a0a44..98368ed19021cff4a3e6b414b5a73e487f01e963 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear320,usbtty,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR320=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 6b110ef97a67df5733e9cacd4d95b9475a825560..e428d25441693f870771f00d0bacd8a458ebf524 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear320,usbtty,FLASH_PNOR"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR320=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index f1cb0aa17a03bfb8e8cdaf0f02dd8d0a001f3499..dae0d5958143b21f5b28667b76bc274487af7c48 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear600"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR600=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 172c187f07461c04ea8d57a28bc4dac46dbe66e7..cdd98fc50d2cfe92bfc2c619ea777bb468645675 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear600,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR600=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index cf8b0ec847b2489bee2cc556e7a43d7fe9062589..1e28edfc2e60d5923f24559de5268e46a518aa56 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear600,usbtty"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR600=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 8bd2f0776f8e955f0991cb4c79da75246ddeed01..2f8fd5ead3c6fc2f7df5fc030b28512cc105344e 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="spear600,usbtty,nand"
 CONFIG_ARM=y
 CONFIG_TARGET_SPEAR600=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 1884ac4a60272d6dd7b0abeb0df3109acc505c56..76ba41bf5f7b209ec476d47cb50365e3c0ec132b 100644 (file)
@@ -2,3 +2,6 @@ CONFIG_SYS_EXTRA_OPTIONS="stv0991"
 CONFIG_ARM=y
 CONFIG_TARGET_STV0991=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 59f09d9f644cd65969d684fb46e67530427c6fb9..aed9210eff82eb4a4aa8efcba74c42f3be8bca3b 100644 (file)
@@ -8,3 +8,6 @@ CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_SYS_CLK_FREQ=500000000
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index c8bec6791ea8210becef15f0afbef3ce79be3d91..7cd239b7858ad0943f0d85802d7964790c51fc0c 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SPL=y
 CONFIG_ARM=y
 CONFIG_TARGET_X600=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_NETDEVICES=y
+CONFIG_NET=y
index 5bd66ea9d1fd6ff65199f76d395284897bf538a8..973258a80cf3daa0db10915d4548dea6f5fa31f5 100644 (file)
@@ -39,4 +39,11 @@ config ETH_SANDBOX_RAW
          network traffic to be tested from within sandbox. See
          board/sandbox/README.sandbox for more details.
 
+config ETH_DESIGNWARE
+       bool "Synopsys Designware Ethernet MAC"
+       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).
+
 endif # NETDEVICES
index 2f22151c300a94f795b602312a940e3fdab77134..f24443df71064b29593b3c33893b2a8aee71c1f8 100644 (file)
@@ -16,7 +16,7 @@ obj-$(CONFIG_BFIN_MAC) += bfin_mac.o
 obj-$(CONFIG_CALXEDA_XGMAC) += calxedaxgmac.o
 obj-$(CONFIG_CS8900) += cs8900.o
 obj-$(CONFIG_TULIP) += dc2114x.o
-obj-$(CONFIG_DESIGNWARE_ETH) += designware.o
+obj-$(CONFIG_ETH_DESIGNWARE) += designware.o
 obj-$(CONFIG_DRIVER_DM9000) += dm9000x.o
 obj-$(CONFIG_DNET) += dnet.o
 obj-$(CONFIG_E1000) += e1000.o
index 8a7095c5b242ecf40a10ec111ad568e78d68281b..389f75bca88cd210d75af932511b0dee3e015511 100644 (file)
 /*
  * Ethernet configuration
  */
-#define CONFIG_DESIGNWARE_ETH
 #define CONFIG_DW_AUTONEG
 #define CONFIG_NET_MULTI
 
index 878009ff6615a2e4f2e6aa8c4b75ec8d785e2311..7507d57527d28328ef3f0a35643b4616dac9242a 100644 (file)
@@ -71,7 +71,6 @@
 #define CONFIG_NETCONSOLE
 #define CONFIG_NET_MULTI
 #define CONFIG_HOSTNAME                "bf609-ezkit"
-#define CONFIG_DESIGNWARE_ETH
 #define CONFIG_PHY_ADDR                1
 #define CONFIG_DW_PORTS                1
 #define CONFIG_DW_ALTDESCRIPTOR
index 6d9347204b225a89a444e6ac84837dc654681efe..1ecd56f42a6f24cf4ee1403e00dcf335c7951268 100644 (file)
@@ -99,7 +99,6 @@
  * Ethernet on SoC (EMAC)
  */
 #if defined(CONFIG_CMD_NET) && !defined(CONFIG_SOCFPGA_VIRTUAL_TARGET)
-#define CONFIG_DESIGNWARE_ETH
 #define CONFIG_NET_MULTI
 #define CONFIG_DW_ALTDESCRIPTOR
 #define CONFIG_MII
index 16281f5ba8302690bc93ba43e0daa0ccb26a71b7..409cf54172584e5eee5c1da3fd8f6da9a82a1aa1 100644 (file)
@@ -18,7 +18,6 @@
 
 /* Ethernet driver configuration */
 #define CONFIG_MII
-#define CONFIG_DESIGNWARE_ETH
 #define CONFIG_NET_MULTI
 #define CONFIG_PHYLIB
 #define CONFIG_PHY_RESET_DELAY                 10000           /* in usec */
index 156e0fa8e16f79928c96a46c3684ceaceab58965..ab1e61cf8961a9af825fc6d3d1ec4d753986df68 100644 (file)
@@ -55,7 +55,6 @@
 #define CONFIG_MII
 #define CONFIG_PHYLIB
 #define CONFIG_CMD_NET
-#define CONFIG_DESIGNWARE_ETH
 #define CONFIG_DW_ALTDESCRIPTOR
 #define CONFIG_PHY_MICREL
 
index 438272cbda1f70d1a772f62e37f0a8c57d68dbad..365d9a50b573d729eb4fe7ce7f1d1720f652e302 100644 (file)
@@ -288,7 +288,6 @@ extern int soft_i2c_gpio_scl;
 #endif
 
 #ifdef CONFIG_SUNXI_GMAC
-#define CONFIG_DESIGNWARE_ETH          /* GMAC can use designware driver */
 #define CONFIG_DW_AUTONEG
 #define CONFIG_PHY_GIGE                        /* GMAC can use gigabit PHY     */
 #define CONFIG_PHY_ADDR                1
index 501449a581720e4a28f9f1f09ad2e44d488caebc..b2b4b1037f01faf2c9517278356b3564b5fd357c 100644 (file)
@@ -62,7 +62,6 @@
 /*
  * Ethernet configuration
  */
-#define CONFIG_DESIGNWARE_ETH
 #define ETH0_BASE_ADDRESS              0xFE100000
 #define ETH1_BASE_ADDRESS              0xFE110000
 
index 241bf65f307d75a4e8300de5816f68c4cddd32e3..27a66a53e88c0edc48fd40651360fcbaf1f45c16 100644 (file)
@@ -74,7 +74,6 @@
 
 /* Ethernet config options */
 #define CONFIG_MII
-#define CONFIG_DESIGNWARE_ETH
 #define CONFIG_NET_MULTI
 #define CONFIG_PHYLIB
 #define CONFIG_PHY_RESET_DELAY                 10000           /* in usec */