]> git.sur5r.net Git - u-boot/commitdiff
net: fix ULI 526x macro usage in netdev.h
authorTimur Tabi <timur@freescale.com>
Thu, 9 Apr 2009 15:27:05 +0000 (10:27 -0500)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 20 Apr 2009 06:24:05 +0000 (23:24 -0700)
Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526.  CONFIG_ULI526X
is used everywhere else, so that's the correct macro name.  Without this fix,
Ethernet will not work on the Freescale MPC8610 HPCD.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
include/netdev.h

index 2794ddd57869a37a738a5332438fba2fda111e31..63cf730a303aa2f5f95c67383f08c4a96c621137 100644 (file)
@@ -108,7 +108,7 @@ static inline int pci_eth_init(bd_t *bis)
 #if defined(CONFIG_RTL8169)
        num += rtl8169_initialize(bis);
 #endif
-#if defined(CONFIG_ULI526)
+#if defined(CONFIG_ULI526X)
        num += uli526x_initialize(bis);
 #endif