]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/ip04/ip04.c
2 * U-boot - main board file
4 * Copyright (c) 2007 David Rowe,
7 * (C) Copyright 2000-2004
8 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 * Licensed under the GPL-2 or later.
19 printf("Board: IP04 IP-PBX\n");
20 printf(" http://www.rowetel.com/ucasterisk/ip04.html\n");
24 #ifdef CONFIG_DRIVER_DM9000
25 int board_eth_init(bd_t
*bis
)
27 return dm9000_initialize(bis
);
33 if (!eth_getenv_enetaddr("ethaddr", enetaddr
)) {
34 puts("Warning: Generating 'random' MAC address\n");
35 eth_random_addr(enetaddr
);
36 eth_setenv_enetaddr("ethaddr", enetaddr
);