summaryrefslogtreecommitdiff
path: root/include/configs/ts4800.h
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@savoirfairelinux.com>2015-06-30 17:17:48 -0400
committerStefano Babic <sbabic@denx.de>2015-09-02 15:26:13 +0200
commitf3488bb39d0ffe274cefdc7c42e3e63a636d9cd6 (patch)
tree30ed257b140ce0d7b8adea330e3e2b376683296c /include/configs/ts4800.h
parent9ee16897a24dc5643c44b275cca4ad78bce2c56d (diff)
ARM: ts4800: add ethernet support
This commit adds ethernet support to the TS4800. Note that the MAC address is not fused on this board and have to be read from FEC PALR PAUR registers (this is how the kernel provided by Technologic Systems does it). signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/ts4800.h')
-rw-r--r--include/configs/ts4800.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/ts4800.h b/include/configs/ts4800.h
index d3722fa073..21f1555eb7 100644
--- a/include/configs/ts4800.h
+++ b/include/configs/ts4800.h
@@ -73,6 +73,22 @@
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
+/*
+ * Eth Configs
+ */
+#define CONFIG_MII
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_SMSC
+
+#define CONFIG_FEC_MXC
+#define IMX_FEC_BASE FEC_BASE_ADDR
+#define CONFIG_ETHPRIME "FEC"
+#define CONFIG_FEC_MXC_PHYADDR 0
+
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_MII
+
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE /* disable vendor parameters protection (serial#, ethaddr) */
#define CONFIG_CONS_INDEX 1 /* use UART0 : used by serial driver */