X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fimpa7%2Fimpa7.c;h=205b1b31dde19ffec3d6bd96415e951272eb41c3;hb=4bfacad4e796f2e121ee7432705ecc9c61e7b6ca;hp=3230dd48f0767622b1d295cb5c42227befdbc303;hpb=534ff676a9c2ffd460e096754894e78551e4ed1e;p=oweals%2Fu-boot.git diff --git a/board/impa7/impa7.c b/board/impa7/impa7.c index 3230dd48f0..205b1b31dd 100644 --- a/board/impa7/impa7.c +++ b/board/impa7/impa7.c @@ -23,6 +23,7 @@ */ #include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -57,3 +58,14 @@ int dram_init (void) return (0); } + +#ifdef CONFIG_CMD_NET +int board_eth_init(bd_t *bis) +{ + int rc = 0; +#ifdef CONFIG_CS8900 + rc = cs8900_initialize(0, CONFIG_CS8900_BASE); +#endif + return rc; +} +#endif