Module Name: src
Committed By: kiyohara
Date: Sun Aug 9 06:24:04 UTC 2009
Modified Files:
src/sys/arch/arm/xscale: pxa2x0_udc.c
Log Message:
Remove GPIO configuration for board dependently.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/xscale/pxa2x0_udc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/xscale/pxa2x0_udc.c
diff -u src/sys/arch/arm/xscale/pxa2x0_udc.c:1.2 src/sys/arch/arm/xscale/pxa2x0_udc.c:1.3
--- src/sys/arch/arm/xscale/pxa2x0_udc.c:1.2 Sun Aug 9 06:12:34 2009
+++ src/sys/arch/arm/xscale/pxa2x0_udc.c Sun Aug 9 06:24:03 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pxa2x0_udc.c,v 1.2 2009/08/09 06:12:34 kiyohara Exp $ */
+/* $NetBSD: pxa2x0_udc.c,v 1.3 2009/08/09 06:24:03 kiyohara Exp $ */
/* $OpenBSD: pxa27x_udc.c,v 1.5 2005/03/30 14:24:39 dlg Exp $ */
/*
@@ -83,18 +83,10 @@
bus_space_barrier(sc->sc_iot, sc->sc_ioh, 0, sc->sc_size,
BUS_SPACE_BARRIER_READ|BUS_SPACE_BARRIER_WRITE);
- pxa2x0_gpio_set_function(35, GPIO_ALT_FN_2_IN); /* USB_P2_1 */
- pxa2x0_gpio_set_function(37, GPIO_ALT_FN_1_OUT); /* USB_P2_8 */
- pxa2x0_gpio_set_function(41, GPIO_ALT_FN_2_IN); /* USB_P2_7 */
- pxa2x0_gpio_set_function(89, GPIO_ALT_FN_2_OUT); /* USBHPEN<1> */
- pxa2x0_gpio_set_function(120, GPIO_ALT_FN_2_OUT); /* USBHPEN<2> */
-
pxa2x0_clkman_config(CKEN_USBDC, 1);
pxaudc_enable(sc);
- pxa2x0_gpio_set_bit(37); /* USB_P2_8 */
-
sc->sc_powerhook = powerhook_establish(sc->sc_dev.dv_xname,
pxaudc_power, sc);
if (sc->sc_powerhook == NULL) {