0001
0002
0003
0004
0005
0006 #include <linux/platform_data/usb-omap1.h>
0007 #include <linux/soc/ti/omap1-usb.h>
0008
0009 #if IS_ENABLED(CONFIG_USB_OMAP)
0010 #define is_usb0_device(config) 1
0011 #else
0012 #define is_usb0_device(config) 0
0013 #endif
0014
0015 #if IS_ENABLED(CONFIG_USB_SUPPORT)
0016 void omap1_usb_init(struct omap_usb_config *pdata);
0017 #else
0018 static inline void omap1_usb_init(struct omap_usb_config *pdata)
0019 {
0020 }
0021 #endif
0022
0023 #define OMAP1_OHCI_BASE 0xfffba000
0024 #define OMAP2_OHCI_BASE 0x4805e000
0025 #define OMAP_OHCI_BASE OMAP1_OHCI_BASE