]> git.sur5r.net Git - u-boot/blobdiff - board/compulab/cl-som-am57x/cl-som-am57x.c
usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions
[u-boot] / board / compulab / cl-som-am57x / cl-som-am57x.c
index 389eebb58917986212d4a429410eadbb8fda0d2b..d7dc8a42e4f200d331165a3cbec48c04b53d9c69 100644 (file)
@@ -16,6 +16,7 @@
 #include <asm/arch/sys_proto.h>
 #include "../common/common.h"
 #include "../common/eeprom.h"
+#include <asm/omap_common.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -64,3 +65,15 @@ u32 get_board_rev(void)
 {
        return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS);
 }
+
+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;
+}