diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-08-12 20:32:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-18 13:45:58 -0400 |
commit | 554b0e0d8298903d549560d67872d962c8f1107b (patch) | |
tree | ae8b88a8260fca4d65940181e4201ee7f51dda68 | |
parent | adf8d58d4f34533cd12174d76ae404eb740e844f (diff) |
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>
-rw-r--r-- | arch/arm/include/asm/arch-lpc32xx/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-lpc32xx/config.h b/arch/arm/include/asm/arch-lpc32xx/config.h index d161ad213a..2d082ef40d 100644 --- a/arch/arm/include/asm/arch-lpc32xx/config.h +++ b/arch/arm/include/asm/arch-lpc32xx/config.h @@ -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 */ |