summaryrefslogtreecommitdiff
path: root/board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-03 23:07:41 +0200
committerWolfgang Denk <wd@denx.de>2008-09-03 23:07:41 +0200
commit53c987f51391c1a221b0468aa0f37a3a6ce9181a (patch)
tree62bd19ba9bcf8a5062e874ab53877b53a434d6f7 /board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
parent1711f3bd16d1c5e9d17b4c0198b426d86999781b (diff)
parentce42d166ac3c55ebf1e7c2f9707a79acefa006be (diff)
downloadu-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.zip
u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.tar.gz
u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.tar.bz2
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'board/earthlcd/favr-32-ezkit/favr-32-ezkit.c')
-rw-r--r--board/earthlcd/favr-32-ezkit/favr-32-ezkit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/earthlcd/favr-32-ezkit/favr-32-ezkit.c b/board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
index da69e75..da05589 100644
--- a/board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
+++ b/board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
@@ -18,6 +18,7 @@
* Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <common.h>
+#include <netdev.h>
#include <asm/io.h>
#include <asm/sdram.h>
@@ -87,8 +88,6 @@ void board_init_info(void)
}
#if defined(CONFIG_MACB) && defined(CONFIG_CMD_NET)
-extern int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
-
int board_eth_init(bd_t *bi)
{
return macb_eth_initialize(0, (void *)MACB0_BASE, bi->bi_phy_id[0]);