]> git.sur5r.net Git - u-boot/blobdiff - board/compulab/cm_t43/cm_t43.c
usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions
[u-boot] / board / compulab / cm_t43 / cm_t43.c
index 0d5da6f5e9dcf68faafa94403559706bbd1c5acc..bdbea4f5e55b9e1a3869f8ac8cf26e2b753d5b1d 100644 (file)
@@ -14,6 +14,8 @@
 #include <power/pmic.h>
 #include <power/tps65218.h>
 #include "board.h"
+#include <usb.h>
+#include <asm/omap_common.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -50,6 +52,18 @@ int board_init(void)
        return 0;
 }
 
+int board_usb_init(int index, enum usb_init_type init)
+{
+       enable_usb_clocks(index);
+       return 0;
+}
+
+int board_usb_cleanup(int index, enum usb_init_type init)
+{
+       disable_usb_clocks(index);
+       return 0;
+}
+
 #ifdef CONFIG_DRIVER_TI_CPSW
 
 static void cpsw_control(int enabled)