summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2008-08-31 00:39:46 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-31 00:39:46 +0200
commitfcaac589a68115819ddadcf5c18ded9a5f9e2c75 (patch)
tree9c2b32763db364f6265221e7c70977b03448b633 /lib_arm
parentfbbb1de369ca7d5ace6f7b0ce9d0aee24a6f457b (diff)
downloadu-boot-imx-fcaac589a68115819ddadcf5c18ded9a5f9e2c75.zip
u-boot-imx-fcaac589a68115819ddadcf5c18ded9a5f9e2c75.tar.gz
u-boot-imx-fcaac589a68115819ddadcf5c18ded9a5f9e2c75.tar.bz2
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>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 6e3ef08..5ade882 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -430,9 +430,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