mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
lpc32xx: add common USB OHCI defines for all LPC32xx boards
The change adds a number of macro definitions used by USB OHCI driver, if CONFIG_USB_OHCI_LPC32XX is selected from a board config file. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Tested-by: Sylvain Lemieux <slemieux@tycoint.com>
This commit is contained in:
parent
adf8d58d4f
commit
554b0e0d82
1 changed files with 9 additions and 0 deletions
|
@ -90,4 +90,13 @@
|
|||
#define CONFIG_SYS_FLASH_PROTECTION
|
||||
#endif
|
||||
|
||||
/* USB OHCI */
|
||||
#if defined(CONFIG_USB_OHCI_LPC32XX)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE USB_BASE
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "lpc32xx-ohci"
|
||||
#endif
|
||||
|
||||
#endif /* _LPC32XX_CONFIG_H */
|
||||
|
|
Loading…
Reference in a new issue