diff options
author | TsiChungLiew <Tsi-Chung.Liew@freescale.com> | 2007-08-15 19:45:51 -0500 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2007-08-16 17:43:20 -0600 |
commit | a9505510bf56a9b5558248dd8b73ec9d9a1556a2 (patch) | |
tree | 6b306ff254f19dcba0aa0742e57f3248945b0c92 /include | |
parent | 6cfd3c7bc813fb317ab7c0781f0d1874b1c0877c (diff) | |
download | u-boot-imx-a9505510bf56a9b5558248dd8b73ec9d9a1556a2.zip u-boot-imx-a9505510bf56a9b5558248dd8b73ec9d9a1556a2.tar.gz u-boot-imx-a9505510bf56a9b5558248dd8b73ec9d9a1556a2.tar.bz2 |
ColdFire: update r5200 platform for MCF52x2
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/r5200.h | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/include/configs/r5200.h b/include/configs/r5200.h index 0e743bb..fc7658b 100644 --- a/include/configs/r5200.h +++ b/include/configs/r5200.h @@ -39,13 +39,10 @@ #define CONFIG_M5271 /* define processor type */ #define CONFIG_R5200 /* define board type */ -#define FEC_ENET -#define CONFIG_NET_RETRY_COUNT 5 - -#define CONFIG_IPADDR 192.168.0.172 -#define CONFIG_SERVERIP 192.168.0.148 -#define CONFIG_ETHADDR 00:06:3b:00:44:55 +#define CONFIG_MCFTMR +#define CONFIG_MCFUART +#define CFG_UART_PORT (0) #define CONFIG_BAUDRATE 19200 #define CFG_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 } @@ -87,6 +84,27 @@ #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_LOADB +#define CONFIG_MCFFEC +#ifdef CONFIG_MCFFEC +# define CONFIG_NET_MULTI 1 +# define CONFIG_MII 1 +# define CFG_DISCOVER_PHY +# define CFG_RX_ETH_BUFFER 8 +# define CFG_FAULT_ECHO_LINK_DOWN + +# define CFG_FEC0_PINMUX 0 +# define CFG_FEC0_MIIBASE CFG_FEC0_IOBASE +# define MCFFEC_TOUT_LOOP 50000 +/* If CFG_DISCOVER_PHY is not defined - hardcoded */ +# ifndef CFG_DISCOVER_PHY +# define FECDUPLEX FULL +# define FECSPEED _100BASET +# else +# ifndef CFG_FAULT_ECHO_LINK_DOWN +# define CFG_FAULT_ECHO_LINK_DOWN +# endif +# endif /* CFG_DISCOVER_PHY */ +#endif /* Note: We only copy one sectors worth of application code from location * 10200000 for speed purposes. Increase the size if necessary */ |