Re: [U-Boot] [PATCH 2/5] pxa: activate the first usb host port on pxa27x by default

2011-11-26 Thread Remy Bohmer
Hi,

2011/10/17 Stefan Herbrechtsmeier sherb...@cit-ec.uni-bielefeld.de:
 The pxa27x has 3 usb host ports. Activate all by default.

 Signed-off-by: Stefan Herbrechtsmeier sherb...@cit-ec.uni-bielefeld.de
 CC: Marek Vasut marek.va...@gmail.com
 CC: Remy Bohmer  li...@bohmer.net
 ---
  arch/arm/cpu/pxa/usb.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

Applied to u-boot-usb

Kind regards,

Remy
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/5] pxa: activate the first usb host port on pxa27x by default

2011-10-17 Thread Stefan Herbrechtsmeier
The pxa27x has 3 usb host ports. Activate all by default.

Signed-off-by: Stefan Herbrechtsmeier sherb...@cit-ec.uni-bielefeld.de
CC: Marek Vasut marek.va...@gmail.com
CC: Remy Bohmer  li...@bohmer.net
---
 arch/arm/cpu/pxa/usb.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/cpu/pxa/usb.c b/arch/arm/cpu/pxa/usb.c
index 7f78ab7..9cc454d 100644
--- a/arch/arm/cpu/pxa/usb.c
+++ b/arch/arm/cpu/pxa/usb.c
@@ -55,7 +55,7 @@ int usb_cpu_init(void)
while (readl(UHCHR)  UHCHR_FSBIR)
udelay(1);
 
-#if defined(CONFIG_CPU_MONAHANS)
+#if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_PXA27X)
writel(readl(UHCHR)  ~UHCHR_SSEP0, UHCHR);
 #endif
 #if defined(CONFIG_PXA27X)
@@ -75,7 +75,7 @@ int usb_cpu_stop(void)
writel(readl(UHCCOMS) | UHCCOMS_HCR, UHCCOMS);
udelay(10);
 
-#if defined(CONFIG_CPU_MONAHANS)
+#if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_PXA27X)
writel(readl(UHCHR) | UHCHR_SSEP0, UHCHR);
 #endif
 #if defined(CONFIG_PXA27X)
-- 
1.7.0.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot