diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-18 21:56:57 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-18 21:56:57 +0200 |
commit | 909627dca4350fca789c117b028b686cfe53e716 (patch) | |
tree | 9ff1c96b5501884438605bd1814eadc03f02d8e1 /include/configs/idmr.h | |
parent | 8f22b671ebc4c625dbd58be19d844069dcc9660e (diff) | |
parent | 26667b7fa05a8bf2fc65fb9f3230b02b1a10c367 (diff) | |
download | u-boot-imx-909627dca4350fca789c117b028b686cfe53e716.zip u-boot-imx-909627dca4350fca789c117b028b686cfe53e716.tar.gz u-boot-imx-909627dca4350fca789c117b028b686cfe53e716.tar.bz2 |
Merge with /home/wd/git/u-boot/custodian/u-boot-coldfire
Diffstat (limited to 'include/configs/idmr.h')
-rw-r--r-- | include/configs/idmr.h | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/include/configs/idmr.h b/include/configs/idmr.h index 1ab7b27..404e88a 100644 --- a/include/configs/idmr.h +++ b/include/configs/idmr.h @@ -44,6 +44,8 @@ */ #define CONFIG_BOOTCOMMAND "run net_nfs" #define CONFIG_BOOTDELAY 5 +#define CONFIG_MCFUART +#define CFG_UART_PORT (0) #define CONFIG_BAUDRATE 19200 #define CFG_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 } #define CONFIG_ETHADDR 00:06:3b:01:41:55 @@ -58,6 +60,8 @@ #define CONFIG_PREBOOT "echo;echo Type \"run flash_nfs\" to mount root " \ "filesystem over NFS; echo" +#define CONFIG_MCFTMR + #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ "ramargs=setenv bootargs root=/dev/ram rw\0" \ @@ -147,11 +151,27 @@ /* * Ethernet */ -#define FEC_ENET -#define CONFIG_NET_RETRY_COUNT 5 -#define CFG_ENET_BD_BASE 0x480000 -#define CFG_DISCOVER_PHY 1 +#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 /* * Definitions for initial stack pointer and data area (in DPRAM) @@ -186,7 +206,7 @@ * have to be in the first 8 MB of memory, since this is * the maximum mapped by the Linux kernel during initialization ?? */ -#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */ +#define CFG_BOOTMAPSZ (CFG_SDRAM_BASE + (CFG_SDRAM_SIZE << 20)) /* FLASH organization */ #define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ @@ -216,7 +236,7 @@ "-(user)"; #if defined(CONFIG_CMD_MII) -#error MII commands don't work on iDMR board and sholud not be enabled. +#error "MII commands don't work on iDMR board and should not be enabled." #endif #endif /* _IDMR_H */ |