summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-21 18:16:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-21 18:16:24 +0000
commit120b1d8699cfbfaafc0ef873ea638d7c5cd39442 (patch)
treee262fdb89f09f5ec04cec82ed34308e89f2e09b7 /target
parent9a1031ce6d35a6e33902f1ce3ddbec8bac707b51 (diff)
downloadmtk-20170518-120b1d8699cfbfaafc0ef873ea638d7c5cd39442.zip
mtk-20170518-120b1d8699cfbfaafc0ef873ea638d7c5cd39442.tar.gz
mtk-20170518-120b1d8699cfbfaafc0ef873ea638d7c5cd39442.tar.bz2
ar71xx: use the RB411 setup for the RB411U
SVN-Revision: 20359
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c
index 0527e13..f3fa4cf 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c
@@ -192,16 +192,7 @@ MIPS_MACHINE(AR71XX_MACH_RB_411, "411", "MikroTik RouterBOARD 411/A/AH",
static void __init rb411u_setup(void)
{
- rb4xx_generic_setup();
- rb4xx_add_device_spi();
-
- ar71xx_add_device_mdio(0xfffffffd);
-
- ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
- ar71xx_eth0_data.phy_mask = 0x00000002;
- ar71xx_add_device_eth(0);
-
- ar71xx_pci_init(ARRAY_SIZE(rb4xx_pci_irqs), rb4xx_pci_irqs);
+ rb411_setup();
ar71xx_add_device_usb();
}