]> git.sur5r.net Git - u-boot/blobdiff - board/toradex/colibri_pxa270/colibri_pxa270.c
malta: support for coreFPGA6 boards
[u-boot] / board / toradex / colibri_pxa270 / colibri_pxa270.c
index c1e25623488d63ae2f3c7c0f72ca6d59d1dec894..8d95e4d174614ece461a23b6fdd353c96224a965 100644 (file)
@@ -13,6 +13,7 @@
 #include <netdev.h>
 #include <asm/io.h>
 #include <serial.h>
+#include <usb.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -39,7 +40,7 @@ int dram_init(void)
 }
 
 #ifdef CONFIG_CMD_USB
-int usb_board_init(void)
+int board_usb_init(int index, enum usb_init_type init)
 {
        writel((readl(UHCHR) | UHCHR_PCPL | UHCHR_PSPL) &
                ~(UHCHR_SSEP0 | UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE),
@@ -70,9 +71,9 @@ int usb_board_init(void)
        return 0;
 }
 
-void usb_board_init_fail(void)
+int board_usb_cleanup(int index, enum usb_init_type init)
 {
-       return;
+       return 0;
 }
 
 void usb_board_stop(void)