diff options
author | Wolfgang Denk <wd@denx.de> | 2009-07-23 19:20:26 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-23 19:20:26 +0200 |
commit | 4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4 (patch) | |
tree | 6c49be563c2bcf3d24af9279493a054b613999ff /board/omap3/evm/evm.c | |
parent | b201171f2b4d509f3ad510b214bee70ff902e3d6 (diff) | |
parent | 97cfe86163505ea18e7ff7b71e78df5bb03dad57 (diff) | |
download | u-boot-imx-4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4.zip u-boot-imx-4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4.tar.gz u-boot-imx-4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'board/omap3/evm/evm.c')
-rw-r--r-- | board/omap3/evm/evm.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/omap3/evm/evm.c b/board/omap3/evm/evm.c index 5fd5efa..bfd2688 100644 --- a/board/omap3/evm/evm.c +++ b/board/omap3/evm/evm.c @@ -28,6 +28,7 @@ * MA 02111-1307 USA */ #include <common.h> +#include <netdev.h> #include <asm/io.h> #include <asm/arch/mem.h> #include <asm/arch/mux.h> @@ -122,3 +123,12 @@ static void setup_net_chip(void) udelay(1); writel(GPIO0, &gpio3_base->setdataout); } + +int board_eth_init(bd_t *bis) +{ + int rc = 0; +#ifdef CONFIG_SMC911X + rc = smc911x_initialize(0, CONFIG_SMC911X_BASE); +#endif + return rc; +} |