summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorRONETIX - Ilko Iliev <iliev@ronetix.at>2009-06-05 16:54:31 +0200
committerRemy Bohmer <linux@bohmer.net>2009-06-09 22:25:48 +0200
commitfaa14babd7466dfade358f9cac128ae246b9bf1b (patch)
tree31b27de51cd8638463dfbc192f7c20c89883f12a /drivers/usb
parent2c0234fa79122a5aa77c4e17c33eb2fe184b61a7 (diff)
downloadu-boot-imx-faa14babd7466dfade358f9cac128ae246b9bf1b.zip
u-boot-imx-faa14babd7466dfade358f9cac128ae246b9bf1b.tar.gz
u-boot-imx-faa14babd7466dfade358f9cac128ae246b9bf1b.tar.bz2
at91: fix a USB problem for AT91SAM9261
This patch corrects the missing PLLB initialization in usb_cpu_init() for AT91SAM9261. Because of the missing PLLB initialization, the USB support for all AT91SAM9261 based boards will work only if the PLLB is configured by a precedent bootloader. Signed-off-by: Ilko Iliev <iliev@ronetix.at> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-at91.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
index c35319c..226859a 100644
--- a/drivers/usb/host/ohci-at91.c
+++ b/drivers/usb/host/ohci-at91.c
@@ -34,7 +34,8 @@ int usb_cpu_init(void)
{
#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || \
- defined(CONFIG_AT91SAM9263) || defined(CONFIG_AT91SAM9G20)
+ defined(CONFIG_AT91SAM9263) || defined(CONFIG_AT91SAM9G20) || \
+ defined(CONFIG_AT91SAM9261)
/* Enable PLLB */
at91_sys_write(AT91_CKGR_PLLBR, get_pllb_init());
while ((at91_sys_read(AT91_PMC_SR) & AT91_PMC_LOCKB) != AT91_PMC_LOCKB)