diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-03 23:07:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-03 23:07:41 +0200 |
commit | 53c987f51391c1a221b0468aa0f37a3a6ce9181a (patch) | |
tree | 62bd19ba9bcf8a5062e874ab53877b53a434d6f7 /board/incaip/incaip.c | |
parent | 1711f3bd16d1c5e9d17b4c0198b426d86999781b (diff) | |
parent | ce42d166ac3c55ebf1e7c2f9707a79acefa006be (diff) | |
download | u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.zip u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.tar.gz u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.tar.bz2 |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'board/incaip/incaip.c')
-rw-r--r-- | board/incaip/incaip.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/incaip/incaip.c b/board/incaip/incaip.c index ac7ad8f..6fe852c 100644 --- a/board/incaip/incaip.c +++ b/board/incaip/incaip.c @@ -23,6 +23,7 @@ #include <common.h> #include <command.h> +#include <netdev.h> #include <asm/addrspace.h> #include <asm/inca-ip.h> #include <asm/io.h> @@ -116,3 +117,10 @@ int checkboard (void) return 0; } + +#if defined(CONFIG_INCA_IP_SWITCH) +int board_eth_init(bd_t *bis) +{ + return inca_switch_initialize(bis); +} +#endif |