aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-meson
diff options
context:
space:
mode:
authorNeil Armstrong2021-02-25 09:44:37 +0100
committerNeil Armstrong2021-04-06 11:10:29 +0200
commit775998d4518c2da2cda02e11edd73a6a7397fcc9 (patch)
tree88809e85f876d9df6c67cf3374c6c5649132ed3c /arch/arm/mach-meson
parent6f3cd174a3c31c417b7fb72be85e26e9db8e9493 (diff)
arm: meson: remove static ethernet memory power domain enable
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>
Diffstat (limited to 'arch/arm/mach-meson')
-rw-r--r--arch/arm/mach-meson/board-g12a.c3
-rw-r--r--arch/arm/mach-meson/board-gx.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c
index bfd40fe14fc..cc7e01d0140 100644
--- a/arch/arm/mach-meson/board-g12a.c
+++ b/arch/arm/mach-meson/board-g12a.c
@@ -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) && \
diff --git a/arch/arm/mach-meson/board-gx.c b/arch/arm/mach-meson/board-gx.c
index 876405f0d45..cae7af5afb1 100644
--- a/arch/arm/mach-meson/board-gx.c
+++ b/arch/arm/mach-meson/board-gx.c
@@ -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) && \