]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/cm-bf533/cm-bf533.c
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / board / cm-bf533 / cm-bf533.c
index 7eb761dcc88045733717d2a46181040f7e6dab43..a863195057d121aeeeb6d874bb4dff11ad4ed4e3 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -17,9 +18,9 @@ int checkboard(void)
        return 0;
 }
 
-phys_size_t initdram(int board_type)
+#ifdef CONFIG_SMC91111
+int board_eth_init(bd_t *bis)
 {
-       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
-       gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
-       return gd->bd->bi_memsize;
+       return smc91111_initialize(0, CONFIG_SMC91111_BASE);
 }
+#endif