musb: am35x: Workaround for fifo read issue
[oweals/u-boot.git] / drivers / usb / musb / omap3.h
index 20fc9d294a291978d55eb10a0e999070f8c3026a..b2acdf4bc6ab1eec4cbdb49b7950f0e4fb70d63c 100644 (file)
 #ifndef _MUSB_OMAP3_H_
 #define _MUSB_OMAP3_H_
 
+#include <asm/arch/cpu.h>
 #include "musb_core.h"
 
 /* Base address of MUSB registers */
-#define MENTOR_USB0_BASE (OMAP34XX_CORE_L4_IO_BASE + 0xAB000)
+#define MENTOR_USB0_BASE MUSB_BASE
 
 /* Base address of OTG registers */
 #define OMAP3_OTG_BASE (MENTOR_USB0_BASE + 0x400)
@@ -44,5 +45,8 @@
 
 int musb_platform_init(void);
 
-#endif /* _MUSB_OMAP3_H */
+#ifdef CONFIG_OMAP3_EVM
+extern u8 omap3_evm_need_extvbus(void);
+#endif
 
+#endif /* _MUSB_OMAP3_H */