diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-13 12:04:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-13 12:04:04 +0000 |
commit | 60d3ffb49a4854b546c7899384faa0b3d5f3e402 (patch) | |
tree | 46720f1b5dc2eda4c181fa762fc57f21e36336a6 /target/linux/gemini/patches/003-missing_from_upstream.patch | |
parent | 672ff3de6e24eb9fe42d333e93046acba74e77a0 (diff) | |
download | mtk-20170518-60d3ffb49a4854b546c7899384faa0b3d5f3e402.zip mtk-20170518-60d3ffb49a4854b546c7899384faa0b3d5f3e402.tar.gz mtk-20170518-60d3ffb49a4854b546c7899384faa0b3d5f3e402.tar.bz2 |
gemini: remove 2.6.37 support
SVN-Revision: 31700
Diffstat (limited to 'target/linux/gemini/patches/003-missing_from_upstream.patch')
-rw-r--r-- | target/linux/gemini/patches/003-missing_from_upstream.patch | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/target/linux/gemini/patches/003-missing_from_upstream.patch b/target/linux/gemini/patches/003-missing_from_upstream.patch deleted file mode 100644 index 948f587..0000000 --- a/target/linux/gemini/patches/003-missing_from_upstream.patch +++ /dev/null @@ -1,86 +0,0 @@ ---- a/arch/arm/mach-gemini/board-wbd111.c -+++ b/arch/arm/mach-gemini/board-wbd111.c -@@ -22,9 +22,29 @@ - #include <asm/mach/arch.h> - #include <asm/mach/time.h> - -+#include <mach/gmac.h> - - #include "common.h" - -+static struct mdio_gpio_platform_data wbd111_mdio = { -+ .mdc = 22, -+ .mdio = 21, -+ .phy_mask = ~(1 << 1), -+}; -+ -+static struct platform_device wbd111_phy_device = { -+ .name = "mdio-gpio", -+ .id = 0, -+ .dev = { -+ .platform_data = &wbd111_mdio, -+ }, -+}; -+ -+static struct gemini_gmac_platform_data gmac_data = { -+ .bus_id[0] = "0:01", -+ .interface[0] = PHY_INTERFACE_MODE_MII, -+}; -+ - static struct gpio_keys_button wbd111_keys[] = { - { - .code = KEY_SETUP, -@@ -131,6 +151,8 @@ static void __init wbd111_init(void) - wbd111_num_partitions); - platform_device_register(&wbd111_leds_device); - platform_device_register(&wbd111_keys_device); -+ platform_device_register(&wbd111_phy_device); -+ platform_register_ethernet(&gmac_data); - } - - MACHINE_START(WBD111, "Wiliboard WBD-111") ---- a/arch/arm/mach-gemini/board-wbd222.c -+++ b/arch/arm/mach-gemini/board-wbd222.c -@@ -22,9 +22,31 @@ - #include <asm/mach/arch.h> - #include <asm/mach/time.h> - -+#include <mach/gmac.h> - - #include "common.h" - -+static struct mdio_gpio_platform_data wbd222_mdio = { -+ .mdc = 22, -+ .mdio = 21, -+ .phy_mask = ~((1 << 1) | (1 << 3)), -+}; -+ -+static struct platform_device wbd222_phy_device = { -+ .name = "mdio-gpio", -+ .id = 0, -+ .dev = { -+ .platform_data = &wbd222_mdio, -+ }, -+}; -+ -+static struct gemini_gmac_platform_data gmac_data = { -+ .bus_id[0] = "0:01", -+ .interface[0] = PHY_INTERFACE_MODE_MII, -+ .bus_id[1] = "0:03", -+ .interface[1] = PHY_INTERFACE_MODE_MII, -+}; -+ - static struct gpio_keys_button wbd222_keys[] = { - { - .code = KEY_SETUP, -@@ -131,6 +153,10 @@ static void __init wbd222_init(void) - wbd222_num_partitions); - platform_device_register(&wbd222_leds_device); - platform_device_register(&wbd222_keys_device); -+ platform_device_register(&wbd222_phy_device); -+ platform_register_ethernet(&gmac_data); -+ platform_register_usb(0); -+ platform_register_usb(1); - } - - MACHINE_START(WBD222, "Wiliboard WBD-222") |