summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9261ek
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-06-15 11:15:54 +0200
committerWolfgang Denk <wd@denx.de>2009-06-15 11:15:54 +0200
commitc9005a72fee4231e30fe93c1741cea2342c54504 (patch)
tree50ae6edb28698df98211f99a8178f06a8b7ab50f /board/atmel/at91sam9261ek
parent9ff67e5e4c719556d57f136a6453f8e4798d85c0 (diff)
parent60f61e6d7655400bb785a2ef637581679941f6d1 (diff)
downloadu-boot-imx-c9005a72fee4231e30fe93c1741cea2342c54504.zip
u-boot-imx-c9005a72fee4231e30fe93c1741cea2342c54504.tar.gz
u-boot-imx-c9005a72fee4231e30fe93c1741cea2342c54504.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'board/atmel/at91sam9261ek')
-rw-r--r--board/atmel/at91sam9261ek/at91sam9261ek.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/atmel/at91sam9261ek/at91sam9261ek.c b/board/atmel/at91sam9261ek/at91sam9261ek.c
index a89cb8b..0817e60 100644
--- a/board/atmel/at91sam9261ek/at91sam9261ek.c
+++ b/board/atmel/at91sam9261ek/at91sam9261ek.c
@@ -36,6 +36,7 @@
#include <atmel_lcdc.h>
#if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_DRIVER_DM9000)
#include <net.h>
+#include <netdev.h>
#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -227,6 +228,12 @@ int board_init(void)
return 0;
}
+#ifdef CONFIG_DRIVER_DM9000
+ int board_eth_init(bd_t *bis)
+ {
+ return dm9000_initialize(bis);
+ }
+ #endif
int dram_init(void)
{
gd->bd->bi_dram[0].start = PHYS_SDRAM;