diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2010-10-14 21:26:29 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-17 18:14:55 (GMT) |
commit | 3d248d37e1a176326ac8bf6a39144076707530e3 (patch) | |
tree | ac2bdaf982e350289ae246588f73353a8120ef6f /include/configs | |
parent | 771d028afff6d223f2e9cf7ed8328eb2287f4303 (diff) | |
download | u-boot-fsl-qoriq-3d248d37e1a176326ac8bf6a39144076707530e3.tar.xz |
da850evm: basic MII EMAC support
The current da850evm support in u-boot/master omits any use of
the davinci EMAC. This patch adds basic support for the EMAC using
the MII PHY found on the baseboard of the EVM. The MAC address is
read from the environment variable 'ethadd'. Note that this is
different from the da850evm support in the u-boot omapl1 tree
where the MAC address is read from SPI flash.
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
CC: Sandeep Paulraj <s-paulraj@ti.com>
CC: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/da850evm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 91dc0c6..d544c13 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -26,6 +26,7 @@ /* * Board */ +#define CONFIG_DRIVER_TI_EMAC /* * SoC Configuration @@ -102,6 +103,20 @@ #endif /* + * Network & Ethernet Configuration + */ +#ifdef CONFIG_DRIVER_TI_EMAC +#define CONFIG_EMAC_MDIO_PHY_NUM 0 +#define CONFIG_MII +#define CONFIG_BOOTP_DEFAULT +#define CONFIG_BOOTP_DNS +#define CONFIG_BOOTP_DNS2 +#define CONFIG_BOOTP_SEND_HOSTNAME +#define CONFIG_NET_RETRY_COUNT 10 +#define CONFIG_NET_MULTI +#endif + +/* * U-Boot general configuration */ #define CONFIG_BOOTFILE "uImage" /* Boot file name */ |