summaryrefslogtreecommitdiff
path: root/include/configs/mx6sxsabresd.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-08-15 00:24:29 -0300
committerStefano Babic <sbabic@denx.de>2014-08-20 13:15:23 +0200
commitd145878d59c80a44d8c6e6d606b898ab87d205ee (patch)
tree771df21563a4e8bbce7195e25b5dc53e352014d4 /include/configs/mx6sxsabresd.h
parent5c045cddaa2411aba856bad5245ee0e0654569c2 (diff)
mx6sxsabresd: Add Ethernet support
mx6sxsabresd board has 2 FEC ports, each one connected to a AR8031. Add support for one FEC port initially. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx6sxsabresd.h')
-rw-r--r--include/configs/mx6sxsabresd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 7967b5d4c9c..1eda65e0818 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -181,6 +181,23 @@
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+/* Network */
+#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_MXC_PHYADDR 0x1
+
+#define CONFIG_FEC_XCV_TYPE RGMII
+#define CONFIG_ETHPRIME "FEC"
+
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_ATHEROS
+
/* FLASH and environment organization */
#define CONFIG_SYS_NO_FLASH