]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: meson: remove static ethernet memory power domain enable
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 25 Feb 2021 08:44:37 +0000 (09:44 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Apr 2021 09:10:29 +0000 (11:10 +0200)
The ethernet memory power domain is handled by the meson-ee-pwrc driver,
delete the static code.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/mach-meson/board-g12a.c
arch/arm/mach-meson/board-gx.c

index bfd40fe14fcee6a810346925cacf9de50867d096..cc7e01d014050dca4563b6fbc44ca443c8b50176 100644 (file)
@@ -126,9 +126,6 @@ void meson_eth_init(phy_interface_t mode, unsigned int flags)
                printf("Invalid Ethernet interface mode\n");
                return;
        }
-
-       /* Enable power gate */
-       clrbits_le32(G12A_MEM_PD_REG_0, G12A_MEM_PD_REG_0_ETH_MASK);
 }
 
 #if CONFIG_IS_ENABLED(USB_DWC3_MESON_G12A) && \
index 876405f0d45e239470b86653e3630124dfaada0e..cae7af5afb139d523d53345219c34fbe2f73aa61 100644 (file)
@@ -142,9 +142,6 @@ void meson_eth_init(phy_interface_t mode, unsigned int flags)
                printf("Invalid Ethernet interface mode\n");
                return;
        }
-
-       /* Enable power gate */
-       clrbits_le32(GX_MEM_PD_REG_0, GX_MEM_PD_REG_0_ETH_MASK);
 }
 
 #if CONFIG_IS_ENABLED(USB_DWC3_MESON_GXL) && \