From: Stefan Herbrechtsmeier Date: Mon, 17 Oct 2011 15:22:47 +0000 (+0200) Subject: pxa: activate the first usb host port on pxa27x by default X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=66a181864d910afd7188ddbd747c70da96f7c505;p=u-boot.git 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 CC: Marek Vasut CC: Remy Bohmer --- diff --git a/arch/arm/cpu/pxa/usb.c b/arch/arm/cpu/pxa/usb.c index e95e0df5c3..307fc6ceec 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)