From f3488bb39d0ffe274cefdc7c42e3e63a636d9cd6 Mon Sep 17 00:00:00 2001 From: Damien Riegel Date: Tue, 30 Jun 2015 17:17:48 -0400 Subject: 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 Cc: Stefano Babic --- include/configs/ts4800.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include') 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 */ -- cgit