提交 554b0e0d 编写于 作者: V Vladimir Zapolskiy 提交者: Tom Rini

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: NVladimir Zapolskiy <vz@mleia.com>
Tested-by: NSylvain Lemieux <slemieux@tycoint.com>
上级 adf8d58d
...@@ -90,4 +90,13 @@ ...@@ -90,4 +90,13 @@
#define CONFIG_SYS_FLASH_PROTECTION #define CONFIG_SYS_FLASH_PROTECTION
#endif #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 */ #endif /* _LPC32XX_CONFIG_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册