diff options
author | Felipe Balbi <balbi@ti.com> | 2010-12-01 07:23:48 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-12-10 03:21:09 -0500 |
commit | 7c925546427a0428b84bc5ba1f28b3698e492072 (patch) | |
tree | 753685c16953aef4d8cdc148c7c2d1f9bd189fb0 /drivers/usb/musb/musb_core.h | |
parent | 7421107b293cace2fc081731306d447ecd8517ab (diff) |
usb: musb: add Kconfig options for each glue layer
This will make things simpler when choosing which
glue layer to compile. It avoids a lot of magic
around the "default" Kconfig option and lets the
user choose what exactly s/he wants to compile.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index cb393e4a3722..9594b9d1d27b 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h | |||
@@ -222,7 +222,7 @@ enum musb_g_ep0_state { | |||
222 | #endif | 222 | #endif |
223 | 223 | ||
224 | /* TUSB mapping: "flat" plus ep0 special cases */ | 224 | /* TUSB mapping: "flat" plus ep0 special cases */ |
225 | #if defined(CONFIG_USB_TUSB6010) | 225 | #if defined(CONFIG_USB_MUSB_TUSB6010) |
226 | #define musb_ep_select(_mbase, _epnum) \ | 226 | #define musb_ep_select(_mbase, _epnum) \ |
227 | musb_writeb((_mbase), MUSB_INDEX, (_epnum)) | 227 | musb_writeb((_mbase), MUSB_INDEX, (_epnum)) |
228 | #define MUSB_EP_OFFSET MUSB_TUSB_OFFSET | 228 | #define MUSB_EP_OFFSET MUSB_TUSB_OFFSET |
@@ -293,7 +293,7 @@ struct musb_hw_ep { | |||
293 | void __iomem *fifo; | 293 | void __iomem *fifo; |
294 | void __iomem *regs; | 294 | void __iomem *regs; |
295 | 295 | ||
296 | #ifdef CONFIG_USB_TUSB6010 | 296 | #ifdef CONFIG_USB_MUSB_TUSB6010 |
297 | void __iomem *conf; | 297 | void __iomem *conf; |
298 | #endif | 298 | #endif |
299 | 299 | ||
@@ -310,7 +310,7 @@ struct musb_hw_ep { | |||
310 | struct dma_channel *tx_channel; | 310 | struct dma_channel *tx_channel; |
311 | struct dma_channel *rx_channel; | 311 | struct dma_channel *rx_channel; |
312 | 312 | ||
313 | #ifdef CONFIG_USB_TUSB6010 | 313 | #ifdef CONFIG_USB_MUSB_TUSB6010 |
314 | /* TUSB has "asynchronous" and "synchronous" dma modes */ | 314 | /* TUSB has "asynchronous" and "synchronous" dma modes */ |
315 | dma_addr_t fifo_async; | 315 | dma_addr_t fifo_async; |
316 | dma_addr_t fifo_sync; | 316 | dma_addr_t fifo_sync; |
@@ -432,7 +432,7 @@ struct musb { | |||
432 | void __iomem *ctrl_base; | 432 | void __iomem *ctrl_base; |
433 | void __iomem *mregs; | 433 | void __iomem *mregs; |
434 | 434 | ||
435 | #ifdef CONFIG_USB_TUSB6010 | 435 | #ifdef CONFIG_USB_MUSB_TUSB6010 |
436 | dma_addr_t async; | 436 | dma_addr_t async; |
437 | dma_addr_t sync; | 437 | dma_addr_t sync; |
438 | void __iomem *sync_va; | 438 | void __iomem *sync_va; |