summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-10-15 12:59:05 +0200
committerWolfgang Denk <wd@denx.de>2007-10-15 12:59:05 +0200
commit99722330ae0a438f806a3719cd2f83f1765ecf71 (patch)
tree247e654db418559d8fa2a3745744dd857d72f8cf
parente2e93442e558cf1500e92861f99713b2f045ea22 (diff)
parent4d4a945e189a2f384c66432316da2788a0ac1607 (diff)
Merge branch 'master' of git+ssh://gemini_vpn/home/wd/git/u-boot/master
-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;
}