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

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Oct 1 11:48:11 CEST 2015


Enable the various configuration option required to get the ethernet
interface up and running.

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

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

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
-- 
2.5.3



More information about the U-Boot mailing list