diff options
author | Kim Phillips | 2007-10-18 10:02:16 -0500 |
---|---|---|
committer | Kim Phillips | 2007-10-18 10:02:16 -0500 |
commit | f147dd15e840230a3911c649b2a81c749d32db1c (patch) | |
tree | 03023c12770b6c33c4e9f75615c4a3319d497c90 /cpu/pxa/usb.c | |
parent | 8ffc774993725a0646aa8d1995d968c95aee9e3c (diff) | |
parent | eff786a9b89144478f478c4193fcad5b498feb72 (diff) |
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'cpu/pxa/usb.c')
-rw-r--r-- | cpu/pxa/usb.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpu/pxa/usb.c b/cpu/pxa/usb.c index 65f457fe59d..3c11d4de44f 100644 --- a/cpu/pxa/usb.c +++ b/cpu/pxa/usb.c @@ -67,6 +67,22 @@ int usb_cpu_init() int usb_cpu_stop() { + UHCHR |= UHCHR_FHR; + udelay(11); + UHCHR &= ~UHCHR_FHR; + + UHCCOMS |= 1; + udelay(10); + +#if defined(CONFIG_CPU_MONAHANS) + UHCHR |= UHCHR_SSEP0; +#endif +#if defined(CONFIG_PXA27X) + UHCHR |= UHCHR_SSEP2; +#endif + UHCHR |= UHCHR_SSEP1; + UHCHR |= UHCHR_SSE; + return 0; } |