Re: [U-Boot] [PATCH] boards: amlogic-g200: remove phy reset
On 28/05/2019 13:15, Neil Armstrong wrote: > The PHY reset is now handled by the MAC driver, remove this leftover. > > Signed-off-by: Neil Armstrong > --- > board/amlogic/q200/q200.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c > index 1932c14aa2..2ea97c362e 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); > Applied to u-boot-amlogic ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH] boards: amlogic-g200: remove phy reset
The PHY reset is now handled by the MAC driver, remove this leftover. Signed-off-by: Neil Armstrong --- board/amlogic/q200/q200.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c index 1932c14aa2..2ea97c362e 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); -- 2.21.0 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot