X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcerf250%2Fcerf250.c;h=59346bc6d45d65ffb742456f5ed59d931900ba44;hb=ec6baf53f7691da4751e98d47a014acf266ab994;hp=307894fd613d4ff44f7b4c105db0c20d94de22a1;hpb=b28a31ca0290627c531b9df0d48ec0239078d2d4;p=u-boot diff --git a/board/cerf250/cerf250.c b/board/cerf250/cerf250.c index 307894fd61..59346bc6d4 100644 --- a/board/cerf250/cerf250.c +++ b/board/cerf250/cerf250.c @@ -26,6 +26,7 @@ */ #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -71,3 +72,14 @@ int dram_init (void) return 0; } + +#ifdef CONFIG_CMD_NET +int board_eth_init(bd_t *bis) +{ + int rc = 0; +#ifdef CONFIG_SMC91111 + rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); +#endif + return rc; +} +#endif