From: Neil Armstrong <narmstrong@baylibre.com>
Date: Tue, 28 May 2019 11:15:15 +0000 (+0200)
Subject: boards: amlogic-g200: remove phy reset
X-Git-Tag: v2025.01-rc5-pxa1908~2951^2~1
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=7336cf34d1740cd3f2fa1ef353aa041ae39a0516;p=u-boot.git

boards: amlogic-g200: remove phy reset

The PHY reset is now handled by the MAC driver, remove this leftover.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---

diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c
index 6db1b26e08..de97d6ad58 100644
--- a/board/amlogic/q200/q200.c
+++ b/board/amlogic/q200/q200.c
@@ -26,12 +26,6 @@ int misc_init_r(void)
 
 	meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
 
-	/* Reset PHY on GPIOZ_14 */
-	clrbits_le32(GX_GPIO_EN(3), BIT(14));
-	clrbits_le32(GX_GPIO_OUT(3), BIT(14));
-	mdelay(10);
-	setbits_le32(GX_GPIO_OUT(3), BIT(14));
-
 	if (!eth_env_get_enetaddr("ethaddr", mac_addr)) {
 		len = meson_sm_read_efuse(EFUSE_MAC_OFFSET,
 					  mac_addr, EFUSE_MAC_SIZE);