diff mbox

[U-Boot,08/10] rockchip: firefly: Enable networking support

Message ID 1443692893-19905-9-git-send-email-sjoerd.simons@collabora.co.uk
State Changes Requested
Delegated to: Simon Glass
Headers show

Commit Message

Sjoerd Simons Oct. 1, 2015, 9:48 a.m. UTC
Enable the various configuration option required to get the ethernet
interface up and running.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
---

 configs/firefly-rk3288_defconfig | 5 +++++
 include/configs/firefly-rk3288.h | 3 +++
 2 files changed, 8 insertions(+)

Comments

Simon Glass Oct. 3, 2015, 2:29 p.m. UTC | #1
On 1 October 2015 at 10:48, Sjoerd Simons <sjoerd.simons@collabora.co.uk> wrote:
> Enable the various configuration option required to get the ethernet
> interface up and running.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> ---
>
>  configs/firefly-rk3288_defconfig | 5 +++++
>  include/configs/firefly-rk3288.h | 3 +++
>  2 files changed, 8 insertions(+)

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
index edb2db2..94c59c3 100644
--- a/configs/firefly-rk3288_defconfig
+++ b/configs/firefly-rk3288_defconfig
@@ -22,6 +22,11 @@  CONFIG_LED_GPIO=y
 CONFIG_RESET=y
 CONFIG_DM_MMC=y
 CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_DM_ETH=y
+CONFIG_NETDEVICES=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_GMAC_RK3288=y
+CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
 CONFIG_SPL_PINCTRL=y
diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h
index 4c5c4dd..43d4df9 100644
--- a/include/configs/firefly-rk3288.h
+++ b/include/configs/firefly-rk3288.h
@@ -10,6 +10,9 @@ 
 #include <configs/rk3288_common.h>
 
 #define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_PHYLIB
+#define CONFIG_LIB_RAND
+#define CONFIG_NET_RANDOM_ETHADDR
 
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV 0