aboutsummaryrefslogtreecommitdiff
path: root/configs/i12-tvbox_defconfig
diff options
context:
space:
mode:
authorAndre Przywara2022-06-08 14:56:56 +0100
committerAndre Przywara2023-10-22 23:40:56 +0100
commit5ad98c57b8dc465b7d1534203b75dc2b35440457 (patch)
treed5ce421da8f563ba328b47bbc597a5b78106a68e /configs/i12-tvbox_defconfig
parent091442993c0f3ac8f34d15099a207a078dc56d0c (diff)
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/i12-tvbox_defconfig')
-rw-r--r--configs/i12-tvbox_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/i12-tvbox_defconfig b/configs/i12-tvbox_defconfig
index 257dd89af45..37f0f53ae7d 100644
--- a/configs/i12-tvbox_defconfig
+++ b/configs/i12-tvbox_defconfig
@@ -4,7 +4,6 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-i12-tvbox"
CONFIG_SPL=y
CONFIG_MACH_SUN7I=y
CONFIG_DRAM_CLK=384
-CONFIG_MACPWR="PH21"
CONFIG_VIDEO_COMPOSITE=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL_I2C=y