summaryrefslogtreecommitdiff
path: root/board/davinci/dm355evm/dm355evm.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-08-11 21:44:55 +0200
committerWolfgang Denk <wd@denx.de>2009-08-11 21:44:55 +0200
commitf45c07dbd185650c1298399cd5b3a31a29cf0e5a (patch)
treef8a66a7451d494304039518b574c9f04baa5d4c4 /board/davinci/dm355evm/dm355evm.c
parentf90dc43fd67eea71124b999a7d5e617d0d86795b (diff)
parent1443cd7e54d6893ab7cc51d93fe7759cdaa8b31f (diff)
downloadu-boot-imx-f45c07dbd185650c1298399cd5b3a31a29cf0e5a.zip
u-boot-imx-f45c07dbd185650c1298399cd5b3a31a29cf0e5a.tar.gz
u-boot-imx-f45c07dbd185650c1298399cd5b3a31a29cf0e5a.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'board/davinci/dm355evm/dm355evm.c')
-rw-r--r--board/davinci/dm355evm/dm355evm.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/board/davinci/dm355evm/dm355evm.c b/board/davinci/dm355evm/dm355evm.c
index 398f527..0a44748 100644
--- a/board/davinci/dm355evm/dm355evm.c
+++ b/board/davinci/dm355evm/dm355evm.c
@@ -23,7 +23,8 @@
#include <asm/arch/emif_defs.h>
#include <asm/arch/nand_defs.h>
#include "../common/misc.h"
-
+#include <net.h>
+#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -79,6 +80,13 @@ int board_init(void)
return 0;
}
+#ifdef CONFIG_DRIVER_DM9000
+int board_eth_init(bd_t *bis)
+{
+ return dm9000_initialize(bis);
+}
+#endif
+
#ifdef CONFIG_NAND_DAVINCI
static void nand_dm355evm_select_chip(struct mtd_info *mtd, int chip)