X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Farmadillo%2Farmadillo.c;h=a825144c5c6544e603e340b2f540c923f6a0baf1;hb=b9d77535e9335b554af03aa0e0a54b664677d018;hp=ca5bd1d1640403de06d81afbd88f854ebfb21492;hpb=d87080b721e4f8dca977af7571c5338ae7bb8db7;p=u-boot diff --git a/board/armadillo/armadillo.c b/board/armadillo/armadillo.c index ca5bd1d164..a825144c5c 100644 --- a/board/armadillo/armadillo.c +++ b/board/armadillo/armadillo.c @@ -26,6 +26,7 @@ */ #include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -58,3 +59,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