drm/nouveau: consume the return of large GSP message
[drm/drm-misc.git] / arch / arm / mach-omap1 / usb.h
blob08c9344c46e36db13b351f4550e17421a47a0fff
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * fixme correct answer depends on hmc_mode,
4 * as does (on omap1) any nonzero value for config->otg port number
5 */
6 #include <linux/platform_data/usb-omap1.h>
7 #include <linux/soc/ti/omap1-usb.h>
9 #if IS_ENABLED(CONFIG_USB_OMAP)
10 #define is_usb0_device(config) 1
11 #else
12 #define is_usb0_device(config) 0
13 #endif
15 #if IS_ENABLED(CONFIG_USB_SUPPORT)
16 void omap1_usb_init(struct omap_usb_config *pdata);
17 #else
18 static inline void omap1_usb_init(struct omap_usb_config *pdata)
21 #endif
23 #define OMAP1_OHCI_BASE 0xfffba000
24 #define OMAP2_OHCI_BASE 0x4805e000
25 #define OMAP_OHCI_BASE OMAP1_OHCI_BASE