summaryrefslogtreecommitdiff
path: root/configs/zeropi_defconfig
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2022-06-08 14:56:56 +0100
committerAndre Przywara <andre.przywara@arm.com>2023-10-22 23:40:56 +0100
commit5ad98c57b8dc465b7d1534203b75dc2b35440457 (patch)
treed5ce421da8f563ba328b47bbc597a5b78106a68e /configs/zeropi_defconfig
parent091442993c0f3ac8f34d15099a207a078dc56d0c (diff)
downloadu-boot-5ad98c57b8dc465b7d1534203b75dc2b35440457.tar.gz
u-boot-5ad98c57b8dc465b7d1534203b75dc2b35440457.tar.bz2
u-boot-5ad98c57b8dc465b7d1534203b75dc2b35440457.zip
sunxi: remove CONFIG_MACPWR
The CONFIG_MACPWR Kconfig symbol is used to point to a GPIO that enables the power for the Ethernet "MAC" (mostly PHY, really). In the DT this is described with the phy-supply property in the MAC DT node, pointing to a (GPIO controlled) regulator. Since we need Ethernet only in U-Boot proper, and use a DM driver there, we should use the DT instead of hardcoding this. Add code to the sun8i_emac and sunxi_emac drivers to check the DT for that regulator and enable it, at probe time. Then drop the current code from board.c, which was doing that job before. This allows us to remove the MACPWR Kconfig definition and the respective values from the defconfigs. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Sam Edwards <CFSworks@gmail.com>
Diffstat (limited to 'configs/zeropi_defconfig')
-rw-r--r--configs/zeropi_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/zeropi_defconfig b/configs/zeropi_defconfig
index 11f3715e6d..7901bffd15 100644
--- a/configs/zeropi_defconfig
+++ b/configs/zeropi_defconfig
@@ -4,7 +4,6 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-zeropi"
CONFIG_SPL=y
CONFIG_MACH_SUN8I_H3=y
CONFIG_DRAM_CLK=408
-CONFIG_MACPWR="PD6"
# CONFIG_VIDEO_DE2 is not set
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_CONSOLE_MUX=y