diff options
author | Christoph Egger <siccegge@cs.fau.de> | 2010-07-05 09:31:55 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-07-05 10:03:59 -0400 |
commit | 267ecec95f7d215d2da38252640b06198515acc3 (patch) | |
tree | 0ed2c4531c7fe4658fec7b2094e154853ecc91c6 /arch/arm/mach-omap2/board-h4.c | |
parent | 74b86b3d57211129cd165a4de8b59258830bfaaa (diff) |
Removing dead MACH_OMAP_H4_OTG
MACH_OMAP_H4_OTG doesn't exist in Kconfig, therefore removing all
references for it from the source code.
Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-h4.c')
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 9044dcf3dd6c..980ae032f914 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -278,22 +278,6 @@ static struct omap_usb_config h4_usb_config __initdata = { | |||
278 | .pins[1] = 4, | 278 | .pins[1] = 4, |
279 | #endif | 279 | #endif |
280 | 280 | ||
281 | #ifdef CONFIG_MACH_OMAP_H4_OTG | ||
282 | /* S1.10 ON -- USB OTG port | ||
283 | * usb0 switched to Mini-AB port and isp1301 transceiver; | ||
284 | * S2.POS3 = OFF, S2.POS4 = ON ... to allow battery charging | ||
285 | */ | ||
286 | .otg = 1, | ||
287 | .pins[0] = 4, | ||
288 | #ifdef CONFIG_USB_GADGET_OMAP | ||
289 | /* use OTG cable, or standard A-to-MiniB */ | ||
290 | .hmc_mode = 0x14, /* 0:dev/otg 1:host 2:disable */ | ||
291 | #elif defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) | ||
292 | /* use OTG cable, or NONSTANDARD (B-to-MiniB) */ | ||
293 | .hmc_mode = 0x11, /* 0:host 1:host 2:disable */ | ||
294 | #endif /* XX */ | ||
295 | |||
296 | #else | ||
297 | /* S1.10 OFF -- usb "download port" | 281 | /* S1.10 OFF -- usb "download port" |
298 | * usb0 switched to Mini-B port and isp1105 transceiver; | 282 | * usb0 switched to Mini-B port and isp1105 transceiver; |
299 | * S2.POS3 = ON, S2.POS4 = OFF ... to enable battery charging | 283 | * S2.POS3 = ON, S2.POS4 = OFF ... to enable battery charging |
@@ -302,7 +286,6 @@ static struct omap_usb_config h4_usb_config __initdata = { | |||
302 | .pins[0] = 3, | 286 | .pins[0] = 3, |
303 | /* .hmc_mode = 0x14,*/ /* 0:dev 1:host 2:disable */ | 287 | /* .hmc_mode = 0x14,*/ /* 0:dev 1:host 2:disable */ |
304 | .hmc_mode = 0x00, /* 0:dev|otg 1:disable 2:disable */ | 288 | .hmc_mode = 0x00, /* 0:dev|otg 1:disable 2:disable */ |
305 | #endif | ||
306 | }; | 289 | }; |
307 | 290 | ||
308 | static struct omap_board_config_kernel h4_config[] = { | 291 | static struct omap_board_config_kernel h4_config[] = { |