projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
musb: am35x: Workaround for fifo read issue
[oweals/u-boot.git]
/
drivers
/
usb
/
musb
/
omap3.h
diff --git
a/drivers/usb/musb/omap3.h
b/drivers/usb/musb/omap3.h
index 20fc9d294a291978d55eb10a0e999070f8c3026a..b2acdf4bc6ab1eec4cbdb49b7950f0e4fb70d63c 100644
(file)
--- a/
drivers/usb/musb/omap3.h
+++ b/
drivers/usb/musb/omap3.h
@@
-31,10
+31,11
@@
#ifndef _MUSB_OMAP3_H_
#define _MUSB_OMAP3_H_
#ifndef _MUSB_OMAP3_H_
#define _MUSB_OMAP3_H_
+#include <asm/arch/cpu.h>
#include "musb_core.h"
/* Base address of MUSB registers */
#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)
/* Base address of OTG registers */
#define OMAP3_OTG_BASE (MENTOR_USB0_BASE + 0x400)
@@
-44,5
+45,8
@@
int musb_platform_init(void);
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 */