aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-03-23 12:52:17 +0000
committerJohn Crispin <blogic@openwrt.org>2016-03-23 12:52:17 +0000
commitd1b4dfc97bb0e911680426afa0213d9d174839d7 (patch)
tree1c14b6743b9a289b6d6ba180934b7141e13f2183 /target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c
parent32e9fc5426fa01084be08f50875ebd92669aeea5 (diff)
downloadmaster-187ad058-d1b4dfc97bb0e911680426afa0213d9d174839d7.tar.gz
master-187ad058-d1b4dfc97bb0e911680426afa0213d9d174839d7.tar.bz2
master-187ad058-d1b4dfc97bb0e911680426afa0213d9d174839d7.zip
Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"
The default delays RXD 3. RDV 3, TXD 0, TXE 0 doesn't seem to work for some boards. These boards depend on the preset values of u-boot which may differ. This reverts commit f2d4bb96b62512caa161dcc2867c91692fb16a38. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49071 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c
index 215dd55d39..a24cb3fce6 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c
@@ -253,8 +253,9 @@ static void __init mr18_setup(void)
res = mr18_extract_sgmii_res_cal();
if (res >= 0) {
/* Setup SoC Eth Config */
- ath79_setup_qca955x_eth_cfg(QCA955X_ETH_CFG_RGMII_EN, 3, 3, 0,
- 0);
+ ath79_setup_qca955x_eth_cfg(QCA955X_ETH_CFG_RGMII_EN |
+ (3 << QCA955X_ETH_CFG_RXD_DELAY_SHIFT) |
+ (3 << QCA955X_ETH_CFG_RDV_DELAY_SHIFT));
/* MDIO Interface */
ath79_register_mdio(0, 0x0);