configs: Orange Pi Win: enable ethernet phy
authorJernej Skrabec <jernej.skrabec@siol.net>
Sun, 26 Jan 2020 12:38:34 +0000 (13:38 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Sun, 26 Jan 2020 15:29:51 +0000 (20:59 +0530)
Orange Pi Win has gigabit ethernet port, but default U-Boot
configuration for that board enabled ethernet driver but
didn't enable realtek phy.

Fix that.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
configs/orangepi_win_defconfig

index 13bf2662607f542f4674f8f25775dc24ac61c2d5..bdc116d969661aa18aedd279a76d8f8f460e3a25 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_ARCH_SUNXI=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SPL=y
 CONFIG_MACH_SUN50I=y
+CONFIG_MACPWR="PD14"
 CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
 CONFIG_SPL_SPI_SUNXI=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
@@ -11,6 +12,7 @@ CONFIG_USE_PREBOOT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-orangepi-win"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_PHY_REALTEK=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y