]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/vpac270/vpac270.c
usb: new board-specific USB init interface
[karo-tx-uboot.git] / board / vpac270 / vpac270.c
index 616736f5c471d430ac6fce71deed6d8fd41c0606..fab4636ad958a49ff70f23db5ae409cce4db1e11 100644 (file)
@@ -13,6 +13,7 @@
 #include <netdev.h>
 #include <serial.h>
 #include <asm/io.h>
+#include <usb.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -66,7 +67,7 @@ int board_mmc_init(bd_t *bis)
 #endif
 
 #ifdef CONFIG_CMD_USB
-int usb_board_init(void)
+int board_usb_init(int index, enum board_usb_init_type init)
 {
        writel((UHCHR | UHCHR_PCPL | UHCHR_PSPL) &
                ~(UHCHR_SSEP0 | UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE),
@@ -97,9 +98,9 @@ int usb_board_init(void)
        return 0;
 }
 
-void usb_board_init_fail(void)
+int board_usb_cleanup(int index, enum board_usb_init_type init)
 {
-       return;
+       return 0;
 }
 
 void usb_board_stop(void)