summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2017-07-04 18:43:11 +0800
committerJagan Teki <[email protected]>2017-08-11 15:53:27 +0530
commita8df97d0da52b3a418de38db589357db82823214 (patch)
tree559a29fb6de1177aac98c98b0a47437b7ee462ee
parente37a1b17e71521ce9385e305a87948d7ca55b4d8 (diff)
sunxi: add MACPWR in Orange Pi PC2 defconfig
The Ethernet function is enabled in the Orange Pi PC2 device tree and defconfig, however, CONFIG_MACPWR is not properly set, which left the PHY being disabled when booting, which makes the Ethernet function not usable. Add the proper value of this option in the PC2 defconfig. Fixes: e7bd15ea156f ("sunxi: Add OrangePi PC 2 initial support") Signed-off-by: Icenowy Zheng <[email protected]> Acked-by: Andre Przywara <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
-rw-r--r--configs/orangepi_pc2_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig
index 5a64ad3f413..b72514d3b9e 100644
--- a/configs/orangepi_pc2_defconfig
+++ b/configs/orangepi_pc2_defconfig
@@ -4,6 +4,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_MACH_SUN50I_H5=y
CONFIG_DRAM_CLK=672
CONFIG_DRAM_ZQ=3881977
+CONFIG_MACPWR="PD6"
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-pc2"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL=y