sunxi: Enable emac on H3 orangepi boards
authorHans de Goede <hdegoede@redhat.com>
Sat, 3 Sep 2016 08:29:58 +0000 (10:29 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 3 Sep 2016 08:57:00 +0000 (10:57 +0200)
The Orange Pi 2 and Orange Pi Plus also come with ethernet, enable
support for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configs/orangepi_2_defconfig
configs/orangepi_plus_defconfig

index 8b1082cd3e3c82f9f240e5df087c6b9f961431ac..e2f6a83d24096305422f2ebcfa8e3c1db81db0d1 100644 (file)
@@ -15,3 +15,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_SY8106A_POWER=y
 CONFIG_USB_EHCI_HCD=y
+CONFIG_SUN8I_EMAC=y
index 9ff433286f34d7a4fdf57be825b5fbc7cc3c6bbb..5bb3bba89b9b0159422a73461cd5e6a49d6cf8ec 100644 (file)
@@ -11,9 +11,10 @@ CONFIG_USB1_VBUS_PIN="PG13"
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPG(11)"
+CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPG(11),MACPWR=SUNXI_GPD(6)"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_SY8106A_POWER=y
 CONFIG_USB_EHCI_HCD=y
+CONFIG_SUN8I_EMAC=y