diff mbox series

configs: Orange Pi Win: enable ethernet

Message ID 20200126123834.28670-1-jernej.skrabec@siol.net
State Accepted
Commit 2936eb2d550a642275113464fc9dcbb03357c049
Headers show
Series configs: Orange Pi Win: enable ethernet | expand

Commit Message

Jernej Škrabec Jan. 26, 2020, 12:38 p.m. UTC
Orange Pi Win has gigabit ethernet port, but default U-Boot
configuration for that board didn't enable it.

Fix that.

Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>
---
 configs/orangepi_win_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jagan Teki Jan. 26, 2020, 2:03 p.m. UTC | #1
On Sun, Jan 26, 2020 at 6:09 PM Jernej Skrabec <jernej.skrabec at siol.net> wrote:
>
> Orange Pi Win has gigabit ethernet port, but default U-Boot
> configuration for that board didn't enable it.
>
> Fix that.

The missing one is ethernet phy not the ethernet since sun8i_emac
already enabled? if agree I will update commit message while applying?
Jernej Škrabec Jan. 26, 2020, 2:12 p.m. UTC | #2
Dne nedelja, 26. januar 2020 ob 15:03:55 CET je Jagan Teki napisal(a):
> On Sun, Jan 26, 2020 at 6:09 PM Jernej Skrabec <jernej.skrabec at siol.net> 
wrote:
> > Orange Pi Win has gigabit ethernet port, but default U-Boot
> > configuration for that board didn't enable it.
> > 
> > Fix that.
> 
> The missing one is ethernet phy not the ethernet since sun8i_emac
> already enabled? if agree I will update commit message while applying?

Agreed, thank you.

Best regards,
Jernej
Jagan Teki Jan. 26, 2020, 3:30 p.m. UTC | #3
On Sun, Jan 26, 2020 at 7:42 PM Jernej Škrabec <jernej.skrabec at siol.net> wrote:
>
> Dne nedelja, 26. januar 2020 ob 15:03:55 CET je Jagan Teki napisal(a):
> > On Sun, Jan 26, 2020 at 6:09 PM Jernej Skrabec <jernej.skrabec at siol.net>
> wrote:
> > > Orange Pi Win has gigabit ethernet port, but default U-Boot
> > > configuration for that board didn't enable it.
> > >
> > > Fix that.
> >
> > The missing one is ethernet phy not the ethernet since sun8i_emac
> > already enabled? if agree I will update commit message while applying?
>
> Agreed, thank you.

Applied to u-boot-sunxi/master
diff mbox series

Patch

diff --git a/configs/orangepi_win_defconfig b/configs/orangepi_win_defconfig
index ad74febe10..7a713ff0e2 100644
--- a/configs/orangepi_win_defconfig
+++ b/configs/orangepi_win_defconfig
@@ -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
@@ -12,6 +13,7 @@  CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
 # 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