summaryrefslogtreecommitdiff
path: root/board/tcm-bf537
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-02 10:01:27 +0000
committerWolfgang Denk <wd@denx.de>2011-10-05 22:22:16 +0200
commite2a53458a7ab375233048e922c4adf494866a78f (patch)
tree0d703e3070ba43394fae714629c09c998bf5b80d /board/tcm-bf537
parentd90f0c107bdb9766aeaf11181b97f5d7fde3efda (diff)
downloadu-boot-e2a53458a7ab375233048e922c4adf494866a78f.tar.gz
u-boot-e2a53458a7ab375233048e922c4adf494866a78f.tar.bz2
u-boot-e2a53458a7ab375233048e922c4adf494866a78f.zip
net: drop !NET_MULTI code
This is long over due. All but two net drivers have been converted, but those have now been dropped. The only thing left to do is actually delete all references to NET_MULTI and code that is compiled when that is not defined. So here we scrub the core code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/tcm-bf537')
-rw-r--r--board/tcm-bf537/tcm-bf537.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/tcm-bf537/tcm-bf537.c b/board/tcm-bf537/tcm-bf537.c
index 004e0d9bb1..38aaae6870 100644
--- a/board/tcm-bf537/tcm-bf537.c
+++ b/board/tcm-bf537/tcm-bf537.c
@@ -26,7 +26,6 @@ int checkboard(void)
static void board_init_enetaddr(char *var)
{
-#ifdef CONFIG_NET_MULTI
uchar enetaddr[6];
if (eth_getenv_enetaddr(var, enetaddr))
@@ -35,7 +34,6 @@ static void board_init_enetaddr(char *var)
printf("Warning: %s: generating 'random' MAC address\n", var);
bfin_gen_rand_mac(enetaddr);
eth_setenv_enetaddr(var, enetaddr);
-#endif
}
#ifndef CONFIG_BFIN_MAC