summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorSergey Kubushyn <ksi@koi8.net>2007-08-10 20:26:18 +0200
committerStefan Roese <sr@denx.de>2007-08-10 20:26:18 +0200
commitc74b2108e31fe09bd1c5d291c3cf360510d4f13e (patch)
tree513414e91717e83f1b78e468c912fc589da9094d /net/eth.c
parentb0d2962faf200b816410893faff31e54287b9075 (diff)
downloadu-boot-imx-c74b2108e31fe09bd1c5d291c3cf360510d4f13e.zip
u-boot-imx-c74b2108e31fe09bd1c5d291c3cf360510d4f13e.tar.gz
u-boot-imx-c74b2108e31fe09bd1c5d291c3cf360510d4f13e.tar.bz2
[ARM] TI DaVinci support, hopefully final
Add support for the following DaVinci boards: - DV_EVM - SCHMOOGIE - SONATA Changes: - Split into separate board directories - Removed changes to MTD_DEBUG (or whatever it's called) - New CONFIG_CMD party line followed - Some cosmetic fixes, cleanup etc. - Patches against the latest U-Boot tree as of now. - Fixed CONFIG_CMD_NET in net files. - Fixed CONFIG_CMD_EEPROM for schmoogie. - Made sure it compiles and works (forceenv() link problem) on SCHMOOGIE and DV_EVM. Can't check if it works on SONATA, don't have a board any more, but it at least compiles. Here is an excerpt from session log on SCHMOOGIE... U-Boot 1.2.0-g6c33c785-dirty (Aug 7 2007 - 13:07:17) DRAM: 128 MB NAND: 128 MiB In: serial Out: serial Err: serial ARM Clock : 297MHz DDR Clock : 162MHz ETH PHY : DP83848 @ 0x01 U-Boot > iprobe Valid chip addresses: 1B 38 3A 3D 3F 50 5D 6F U-Boot > ping 192.168.253.10 host 192.168.253.10 is alive U-Boot > Signed-off-by: Sergey Kubushyn <ksi@koi8.net> Acked-by: Dirk Behme <dirk.behme@gmail.com> Acked-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 6576ee4..c8f92a5 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -464,6 +464,8 @@ extern int at91rm9200_miiphy_initialize(bd_t *bis);
extern int emac4xx_miiphy_initialize(bd_t *bis);
extern int mcf52x2_miiphy_initialize(bd_t *bis);
extern int ns7520_miiphy_initialize(bd_t *bis);
+extern int dm644x_eth_miiphy_initialize(bd_t *bis);
+
int eth_initialize(bd_t *bis)
{
@@ -484,6 +486,9 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_NETARM)
ns7520_miiphy_initialize(bis);
#endif
+#if defined(CONFIG_DRIVER_TI_EMAC)
+ dm644x_eth_miiphy_initialize(bis);
+#endif
return 0;
}
#endif