summaryrefslogtreecommitdiff
path: root/cpu/pxa
diff options
context:
space:
mode:
authorMartin Krause <martin.krause@tqs.de>2007-10-23 08:30:06 +0200
committerMartin Krause <martin.krause@tqs.de>2007-10-23 08:30:06 +0200
commit341cc69d234dd1c361676395cf592113eb90c54c (patch)
treeef58caeaf3ded7c139158c82840eba18cc0355ec /cpu/pxa
parentda3aad55cbde80ab6e301aafa82a2c411aa53eff (diff)
parent5441f61a3d8b7034f19fc1361183e936198e6dbb (diff)
Merge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfix
Diffstat (limited to 'cpu/pxa')
-rw-r--r--cpu/pxa/usb.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/cpu/pxa/usb.c b/cpu/pxa/usb.c
index 65f457fe59..3c11d4de44 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;
}