summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2008-08-31 00:39:46 +0200
committerJustin Waters <justin.waters@timesys.com>2009-09-09 14:03:20 -0400
commitf630d55b523981f2e003ee28ea547f877a4943d5 (patch)
treec6d0594113cca2a268568d0feb7919bc72462131
parentbd23fe9c04e86f048c929ed05fed3c95088e6378 (diff)
ARM DaVinci: Changing function names for EMAC driver
DM644x is just one of a series of DaVinci chips that use the EMAC driver. By replacing all the function names that start with dm644x_* to davinci_* we make these function more portable. I have tested this change on my EVM. DM6467 is another DaVinci SOC which uses the EMAC driver and i will be sending patches that add DaVinci DM6467 support to the list soon. Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--lib_arm/board.c4
-rw-r--r--net/eth.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 0a77f7fdb27..2358bebdbde 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -416,9 +416,9 @@ void start_armboot (void)
/* Perform network card initialisation if necessary */
#ifdef CONFIG_DRIVER_TI_EMAC
-extern void dm644x_eth_set_mac_addr (const u_int8_t *addr);
+extern void davinci_eth_set_mac_addr (const u_int8_t *addr);
if (getenv ("ethaddr")) {
- dm644x_eth_set_mac_addr(gd->bd->bi_enetaddr);
+ davinci_eth_set_mac_addr(gd->bd->bi_enetaddr);
}
#endif
diff --git a/net/eth.c b/net/eth.c
index 6aba8e4a1e4..465c20576b1 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -491,7 +491,7 @@ int eth_initialize(bd_t *bis)
ns7520_miiphy_initialize(bis);
#endif
#if defined(CONFIG_DRIVER_TI_EMAC)
- dm644x_eth_miiphy_initialize(bis);
+ davinci_eth_miiphy_initialize(bis);
#endif
return 0;
}