at91: fix a USB problem for AT91SAM9261
Subsystems (3)
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.
drivers/usb/host/ohci-at91.c +2 -1
@@ -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)
drivers/usb/host/ohci-at91.c
Quoted 10 lines · RONETIX - Ilko Iliev
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 <[email protected]>drivers/usb/host/ohci-at91.c +0
-0
Remy will apply for the rc3?
Best Regards,
J.
Hello,
2009/6/9 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>:
Quoted 7 lines · RONETIX - Ilko Iliev
Quoted 6 lines
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.
Quoted 5 lines
drivers/usb/host/ohci-at91.c
Quoted 4 lines
Signed-off-by Ilko Iliev <[email protected]>drivers/usb/host/ohci-at91.c +0
-0Remy will apply for the rc3?
OK, I had this patch already on the todo list for (regression) testing... But if I you ack it I will apply it without further testing... ;-)
Kind regards,
Remy
Jean-Christophe PLAGNIOL-VILLARD
Acked-byQuoted 10 lines · Remy Bohmer
Hello,
2009/6/9 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>:
Quoted 7 lines · RONETIX - Ilko Iliev
Quoted 6 lines
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.
Quoted 8 lines
Quoted 5 lines
drivers/usb/host/ohci-at91.c
Quoted 4 lines
Signed-off-by Ilko Iliev <[email protected]>drivers/usb/host/ohci-at91.c +0
-0Remy will apply for the rc3?
OK, I had this patch already on the todo list for (regression) testing... But if I you ack it I will apply it without further testing... ;-)
Yes I do
the pm9261 was tested with it and depend on it
(it's support will be send soon)
Best Regards,
J.
Hello All,
Quoted 9 lines
Quoted 9 lines
2009/6/9 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>:
Quoted 8 lines · RONETIX - Ilko Iliev
Quoted 7 lines
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 <[email protected]>
Applied to U-boot-usb
Thanks!
Remy