summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de>2011-10-17 17:22:47 +0200
committerRemy Bohmer <linux@bohmer.net>2011-12-11 14:41:05 +0100
commit66a181864d910afd7188ddbd747c70da96f7c505 (patch)
tree28fe2e0c38b215d48c78b3397c9de53b5f1f12e8 /arch
parent1c0a14ebb7beb5d1d8f9893aea95e42eded95c1c (diff)
downloadu-boot-imx-66a181864d910afd7188ddbd747c70da96f7c505.zip
u-boot-imx-66a181864d910afd7188ddbd747c70da96f7c505.tar.gz
u-boot-imx-66a181864d910afd7188ddbd747c70da96f7c505.tar.bz2
pxa: activate the first usb host port on pxa27x by default
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/pxa/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/pxa/usb.c b/arch/arm/cpu/pxa/usb.c
index e95e0df..307fc6c 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_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)