[U-Boot-Users] [PATCH 1/3] at91cap9adk: fix implicit declaration of function 'eth_init'

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Feb 17 14:15:30 CET 2008


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

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
 
-- 
1.5.4.1





More information about the U-Boot mailing list