pxa: activate the first usb host port on pxa27x by default
authorStefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de>
Mon, 17 Oct 2011 15:22:47 +0000 (17:22 +0200)
committerRemy Bohmer <linux@bohmer.net>
Sun, 11 Dec 2011 13:41:05 +0000 (14:41 +0100)
The pxa27x has 3 usb host ports. Activate all by default.

Signed-off-by: Stefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de>
CC: Marek Vasut <marek.vasut@gmail.com>
CC: Remy Bohmer <linux@bohmer.net>
arch/arm/cpu/pxa/usb.c

index e95e0df5c39d7febbf575c4010a4ef728d629108..307fc6ceec3b819016a5f2e648a81bc2fece0b7b 100644 (file)
@@ -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_CPU_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_CPU_PXA27X)