summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-06 22:11:41 +0000
committerwdenk <wdenk>2004-06-06 22:11:41 +0000
commit5ca2679933142f7bf2996590b2e318c298664748 (patch)
tree4a1fea7b28c526ad542e50e6baf9dc4a90f7ab57 /lib_arm
parent17ea11774332a7e8702effd357595ce4a56f89d5 (diff)
downloadu-boot-imx-5ca2679933142f7bf2996590b2e318c298664748.zip
u-boot-imx-5ca2679933142f7bf2996590b2e318c298664748.tar.gz
u-boot-imx-5ca2679933142f7bf2996590b2e318c298664748.tar.bz2
Patch by Dave Peverley, 29 Apr 2004:
add MAC address detection to smc91111 driver
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 314126a..193980e 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -54,7 +54,7 @@ const char version_string[] =
extern void cs8900_get_enetaddr (uchar * addr);
#endif
-#ifdef CONFIG_DRIVER_CS8900
+#ifdef CONFIG_DRIVER_RTL8019
extern void rtl8019_get_enetaddr (uchar * addr);
#endif
@@ -306,7 +306,6 @@ void start_armboot (void)
if (getenv ("ethaddr")) {
smc_set_mac_addr(gd->bd->bi_enetaddr);
}
- /* eth_hw_init(); */
#endif /* CONFIG_DRIVER_LAN91C96 */
/* Initialize from environment */