File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
arch/x86/soc/intel_quark/quark_se Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 80
80
81
81
#endif /* CONFIG_SPI_DW */
82
82
83
+ #ifdef CONFIG_USB_DW
84
+
85
+ #define USB_DW_BASE QM_USB_0_BASE
86
+ #define USB_DW_IRQ QM_IRQ_USB_0_INT
87
+
88
+ #endif
89
+
83
90
#endif /* _ASMLANGUAGE */
84
91
85
92
#ifdef CONFIG_ARC_INIT
Original file line number Diff line number Diff line change @@ -197,13 +197,6 @@ struct usb_dw_reg {
197
197
#define USB_DW_CORE_RST_TIMEOUT_US 10000
198
198
#define USB_DW_PLL_TIMEOUT_US 100
199
199
200
- #if defined(CONFIG_SOC_QUARK_SE_C1000 )
201
- #define USB_DW_BASE QM_USB_0_BASE
202
- #define USB_DW_IRQ QM_IRQ_USB_0_INT
203
- #else
204
- #error "Unsupported board"
205
- #endif
206
-
207
200
#define USB_DW_EP_FIFO (ep ) (*(u32_t *)(USB_DW_BASE + 0x1000 * (ep + 1)))
208
201
/* USB register block base address */
209
202
#define USB_DW ((struct usb_dw_reg *)USB_DW_BASE)
You can’t perform that action at this time.
0 commit comments