summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-02-17 14:15:30 +0100
committerWolfgang Denk <wd@denx.de>2008-02-17 16:03:20 +0100
commit64d792063fff90b8118179b092feee09fe5cae13 (patch)
tree08bfd3d0b6153f4f93b554faf1dac589b9476dc4 /board
parent375c4353db8f900f7ec772e26fab116ec00f7d3a (diff)
downloadu-boot-imx-64d792063fff90b8118179b092feee09fe5cae13.zip
u-boot-imx-64d792063fff90b8118179b092feee09fe5cae13.tar.gz
u-boot-imx-64d792063fff90b8118179b092feee09fe5cae13.tar.bz2
at91cap9adk: fix implicit declaration of function 'eth_init'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/at91cap9adk/at91cap9adk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/at91cap9adk/at91cap9adk.c b/board/atmel/at91cap9adk/at91cap9adk.c
index bde6aa9..52e62de 100644
--- a/board/atmel/at91cap9adk/at91cap9adk.c
+++ b/board/atmel/at91cap9adk/at91cap9adk.c
@@ -24,6 +24,9 @@
#include <common.h>
#include <asm/arch/AT91CAP9.h>
+#if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
+#include <net.h>
+#endif
#define MP_BLOCK_3_BASE 0xFDF00000