diff options
author | Markus Klotzbuecher <mk@denx.de> | 2007-04-03 14:27:08 +0200 |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2007-04-03 14:27:08 +0200 |
commit | edf5851be6c17c031d4f71dd5b0a12040b7c50c8 (patch) | |
tree | f1bf0adcc0a401dd18ec1c0a5150f7cffa00644e /cpu/pxa | |
parent | ae00bb4b2944dc64a485ed72a19754b11af7c223 (diff) | |
download | u-boot-edf5851be6c17c031d4f71dd5b0a12040b7c50c8.tar.gz u-boot-edf5851be6c17c031d4f71dd5b0a12040b7c50c8.tar.bz2 u-boot-edf5851be6c17c031d4f71dd5b0a12040b7c50c8.zip |
USB: cleanup monahans usb support. Remove dead code.
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Diffstat (limited to 'cpu/pxa')
-rw-r--r-- | cpu/pxa/usb.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/cpu/pxa/usb.c b/cpu/pxa/usb.c index 4ef3ac7679..65f457fe59 100644 --- a/cpu/pxa/usb.c +++ b/cpu/pxa/usb.c @@ -40,12 +40,9 @@ int usb_cpu_init() CKEN |= CKEN10_USBHOST; #endif +#if defined(CONFIG_CPU_MONAHANS) /* Configure Port 2 for Host (USB Client Registers) */ UP2OCR = 0x3000c; - -#if 0 - GPIO2_2 = 0x801; /* USBHPEN - Alt. Fkt. 1 */ - GPIO3_2 = 0x801; /* USBHPWR - Alt. Fkt. 1 */ #endif UHCHR |= UHCHR_FHR; @@ -56,11 +53,6 @@ int usb_cpu_init() while (UHCHR & UHCHR_FSBIR) udelay(1); -#if 0 - UHCHR |= UHCHR_PCPL; /* USBHPEN is active low */ - UHCHR |= UHCHR_PSPL; /* USBHPWR is active low */ -#endif - #if defined(CONFIG_CPU_MONAHANS) UHCHR &= ~UHCHR_SSEP0; #endif @@ -75,8 +67,6 @@ int usb_cpu_init() int usb_cpu_stop() { - /* may not want to do this */ - /* CKENA &= ~(CKENA_2_USBHOST | CKENA_20_UDC); */ return 0; } |