X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcm-bf548%2Fcm-bf548.c;h=796263d62b39b66a5f700be7563baefc0c64a351;hb=736fead8fdbf8a8407048bebc373cd551d01ec98;hp=1c2660046fb82a12e79ad316a8488954470b1528;hpb=3bd0a877b74b9c005ae7cb892480ccedfa308c20;p=u-boot diff --git a/board/cm-bf548/cm-bf548.c b/board/cm-bf548/cm-bf548.c index 1c2660046f..796263d62b 100644 --- a/board/cm-bf548/cm-bf548.c +++ b/board/cm-bf548/cm-bf548.c @@ -9,6 +9,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -77,3 +78,12 @@ int board_early_init_f(void) return 0; } + +int board_eth_init(bd_t *bis) +{ + int rc = 0; +#ifdef CONFIG_SMC911X + rc = smc911x_initialize(0, CONFIG_SMC911X_BASE); +#endif + return rc; +}