ar71xx: reorganize target patches/files to make it possible to add boards without...
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-om5p.c
index 298e80c..49acd3b 100644 (file)
@@ -186,9 +186,8 @@ static void __init om5p_an_setup(void)
        ath79_init_mac(mac, art, 0x02);
        ath79_register_wmac(art + OM5P_WMAC_CALDATA_OFFSET, mac);
 
-       ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0 |
-                                  AR934X_ETH_CFG_RXD_DELAY |
-                                  AR934X_ETH_CFG_RDV_DELAY);
+       ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0);
+       ath79_setup_ar934x_eth_rx_delay(2, 2);
        ath79_register_mdio(0, 0x0);
        ath79_register_mdio(1, 0x0);