]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cm-bf533/cm-bf533.c
Convert SMC91111 Ethernet driver to CONFIG_NET_MULTI API
[karo-tx-uboot.git] / board / cm-bf533 / cm-bf533.c
index 7eb761dcc88045733717d2a46181040f7e6dab43..ab0bf3bf6598e5f9e00e85425d01c93f0499470c 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -23,3 +24,10 @@ phys_size_t initdram(int board_type)
        gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
        return gd->bd->bi_memsize;
 }
+
+#ifdef CONFIG_SMC91111
+int board_eth_init(bd_t *bis)
+{
+       return smc91111_initialize(0, CONFIG_SMC91111_BASE);
+}
+#endif