diff options
Diffstat (limited to 'arch/arm/plat-omap/usb.c')
| -rw-r--r-- | arch/arm/plat-omap/usb.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/usb.c b/arch/arm/plat-omap/usb.c index 51033a4503c3..d3bf17cd36f3 100644 --- a/arch/arm/plat-omap/usb.c +++ b/arch/arm/plat-omap/usb.c | |||
| @@ -137,7 +137,13 @@ static u32 __init omap_usb0_init(unsigned nwires, unsigned is_device) | |||
| 137 | if (is_device) { | 137 | if (is_device) { |
| 138 | if (cpu_is_omap24xx()) | 138 | if (cpu_is_omap24xx()) |
| 139 | omap_cfg_reg(J20_24XX_USB0_PUEN); | 139 | omap_cfg_reg(J20_24XX_USB0_PUEN); |
| 140 | else | 140 | else if (cpu_is_omap7xx()) { |
| 141 | omap_cfg_reg(AA17_7XX_USB_DM); | ||
| 142 | omap_cfg_reg(W16_7XX_USB_PU_EN); | ||
| 143 | omap_cfg_reg(W17_7XX_USB_VBUSI); | ||
| 144 | omap_cfg_reg(W18_7XX_USB_DMCK_OUT); | ||
| 145 | omap_cfg_reg(W19_7XX_USB_DCRST); | ||
| 146 | } else | ||
| 141 | omap_cfg_reg(W4_USB_PUEN); | 147 | omap_cfg_reg(W4_USB_PUEN); |
| 142 | } | 148 | } |
| 143 | 149 | ||
