]> git.sur5r.net Git - u-boot/blobdiff - board/ibf-dsp561/ibf-dsp561.c
usb: align usb_endpoint_descriptor to 16-bit boundary
[u-boot] / board / ibf-dsp561 / ibf-dsp561.c
index 551fc291a052128a8aa0a983fcf647a836efc7d5..d2ac7a502b9422b9881fe0e7b65145583b2ea1ec 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_DRIVER_AX88180
+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 ax88180_initialize(bis);
 }
+#endif