public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: RONETIX - Ilko Iliev <iliev@ronetix.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] at91: fix a USB problem for AT91SAM9261
Date: Sat, 02 May 2009 18:05:26 +0200	[thread overview]
Message-ID: <49FC6F46.7010304@ronetix.at> (raw)

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 doesn't work.

Signed-off-by: Ilko Iliev <iliev@ronetix.at>

diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
index c35319c..4066820 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)

             reply	other threads:[~2009-05-02 16:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-02 16:05 RONETIX - Ilko Iliev [this message]
2009-05-02 19:27 ` [U-Boot] at91: fix a USB problem for AT91SAM9261 Remy Bohmer
2009-05-02 20:08   ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-02 20:20     ` Remy Bohmer
2009-05-02 20:25       ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-03  8:16         ` Remy Bohmer
  -- strict thread matches above, loose matches on Subject: below --
2009-06-05 14:54 RONETIX - Ilko Iliev
2009-06-09 18:59 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-09 19:17   ` Remy Bohmer
2009-06-09 19:52     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-09 20:29       ` Remy Bohmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49FC6F46.7010304@ronetix.at \
    --to=iliev@ronetix.at \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox