public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] at91: fix a USB problem for AT91SAM9261
@ 2009-06-05 14:54 RONETIX - Ilko Iliev
  2009-06-09 18:59 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 11+ messages in thread
From: RONETIX - Ilko Iliev @ 2009-06-05 14:54 UTC (permalink / raw)
  To: u-boot

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>

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

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [U-Boot] at91: fix a USB problem for AT91SAM9261
@ 2009-05-02 16:05 RONETIX - Ilko Iliev
  2009-05-02 19:27 ` Remy Bohmer
  0 siblings, 1 reply; 11+ messages in thread
From: RONETIX - Ilko Iliev @ 2009-05-02 16:05 UTC (permalink / raw)
  To: u-boot

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)

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-06-09 20:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 14:54 [U-Boot] at91: fix a USB problem for AT91SAM9261 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
  -- strict thread matches above, loose matches on Subject: below --
2009-05-02 16:05 RONETIX - Ilko Iliev
2009-05-02 19:27 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox