boards: amlogic-g200: remove phy reset
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 28 May 2019 11:15:15 +0000 (13:15 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 31 May 2019 08:04:15 +0000 (10:04 +0200)
The PHY reset is now handled by the MAC driver, remove this leftover.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
board/amlogic/q200/q200.c

index 6db1b26e08121252861090082095aa4b679825f2..de97d6ad586d4daf90e93357add903af68264398 100644 (file)
@@ -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);