summaryrefslogtreecommitdiff
path: root/include/configs/udoo.h
diff options
context:
space:
mode:
authorGiuseppe Pagano <giuseppe.pagano@seco.com>2013-11-15 17:42:51 +0100
committerStefano Babic <sbabic@denx.de>2013-11-28 08:28:54 +0100
commit078813d21db0600d440625327a1728c32e9fcc90 (patch)
tree5be0164d8e7ab7be3744f97070d7ee73502a32fe /include/configs/udoo.h
parent953ab736afa0fca087b9e7626daa28ca7adc9fa8 (diff)
downloadu-boot-imx-078813d21db0600d440625327a1728c32e9fcc90.zip
u-boot-imx-078813d21db0600d440625327a1728c32e9fcc90.tar.gz
u-boot-imx-078813d21db0600d440625327a1728c32e9fcc90.tar.bz2
udoo: Add ethernet support (FEC + Micrel KSZ9031).
Add Ethernet and networking support on uDoo board (FEC +phy Micrel KSZ9031). Ethernet speed is currently limited to 10/100Mbps. Signed-off-by: Giuseppe Pagano <giuseppe.pagano@seco.com> Tested-by: Fabio Estevam <fabio.estevam@freescale.com> CC: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/udoo.h')
-rw-r--r--include/configs/udoo.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/udoo.h b/include/configs/udoo.h
index 78df071..b9a493c 100644
--- a/include/configs/udoo.h
+++ b/include/configs/udoo.h
@@ -34,6 +34,22 @@
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART2_BASE
+/* Network support */
+
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_MII
+#define CONFIG_CMD_NET
+#define CONFIG_FEC_MXC
+#define CONFIG_MII
+#define IMX_FEC_BASE ENET_BASE_ADDR
+#define CONFIG_FEC_XCV_TYPE RGMII
+#define CONFIG_ETHPRIME "FEC"
+#define CONFIG_FEC_MXC_PHYADDR 6
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MICREL
+#define CONFIG_PHY_MICREL_KSZ9031
+
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
#define CONFIG_CONS_INDEX 1