X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fep7312%2Fep7312.c;h=8ed14ad583d4ee54d84bdfbf027e4692dadd2564;hb=a60d1e5b8e5007f53c198acc5ca636ae570ae180;hp=6968a5dbdd11d41404dacfd3ae533e1cd281c7b9;hpb=d87080b721e4f8dca977af7571c5338ae7bb8db7;p=u-boot diff --git a/board/ep7312/ep7312.c b/board/ep7312/ep7312.c index 6968a5dbdd..8ed14ad583 100644 --- a/board/ep7312/ep7312.c +++ b/board/ep7312/ep7312.c @@ -23,6 +23,7 @@ */ #include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -52,3 +53,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