mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Changed the mp2usb (at91rm9200) board to use the generic OHCI driver. Some
fixes to the latter.
This commit is contained in:
parent
24e37645e7
commit
301f1aa384
8 changed files with 73 additions and 2073 deletions
|
@ -22,10 +22,12 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_USB_OHCI) && defined(CFG_USB_OHCI_CPU_INIT)
|
||||
# ifdef CONFIG_CPU_MONAHANS
|
||||
|
||||
#include <asm/arch/pxa-regs.h>
|
||||
|
||||
#ifdef CFG_USB_CPU_INIT
|
||||
# ifdef CONFIG_CPU_MONAHANS
|
||||
int usb_cpu_init()
|
||||
{
|
||||
/* Enable USB host clock. */
|
||||
|
@ -68,4 +70,4 @@ int usb_cpu_stop()
|
|||
return 0;
|
||||
}
|
||||
# endif /* CONFIG_CPU_MONAHANS */
|
||||
#endif /* CFG_USB_CPU_INIT */
|
||||
#endif /* defined(CONFIG_USB_OHCI) && defined(CFG_USB_OHCI_CPU_INIT) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue