summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-05-30 02:54:30 +0000
committerTom Rini <trini@ti.com>2013-06-10 08:43:09 -0400
commit9239f5b62550e9f1438c784cb8d1e578dc3852a8 (patch)
tree9d8454c3f4c4dc475c94af71f942ff504ad45940 /drivers/usb/musb
parente0a8c99e6103a9052510ea9e2067c18cb688e1cb (diff)
downloadu-boot-imx-9239f5b62550e9f1438c784cb8d1e578dc3852a8.zip
u-boot-imx-9239f5b62550e9f1438c784cb8d1e578dc3852a8.tar.gz
u-boot-imx-9239f5b62550e9f1438c784cb8d1e578dc3852a8.tar.bz2
ARM: OMAP4+: Cleanup header files
After having the u-boot clean up series, there are many definitions that are unused in header files. Removing all those unused ones. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/omap3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap3.c b/drivers/usb/musb/omap3.c
index c7876ed..a395ebc 100644
--- a/drivers/usb/musb/omap3.c
+++ b/drivers/usb/musb/omap3.c
@@ -30,6 +30,7 @@
* MA 02111-1307 USA
*/
+#include <asm/omap_common.h>
#include <twl4030.h>
#include <twl6030.h>
#include "omap3.h"
@@ -135,7 +136,8 @@ int musb_platform_init(void)
#endif
#ifdef CONFIG_OMAP4430
- u32 *usbotghs_control = (u32 *)(CTRL_BASE + 0x33C);
+ u32 *usbotghs_control =
+ (u32 *)((*ctrl)->control_usbotghs_ctrl);
*usbotghs_control = 0x15;
#endif
platform_needs_initialization = 0;