Kconfig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. menu "DMA support"
  2. config SH_DMA
  3. bool "SuperH on-chip DMA controller (DMAC) support"
  4. depends on CPU_SH3 || CPU_SH4
  5. default n
  6. config SH_DMA_IRQ_MULTI
  7. bool
  8. depends on SH_DMA
  9. default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
  10. CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \
  11. CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \
  12. CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7780 || \
  13. CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7760
  14. config SH_DMA_API
  15. depends on SH_DMA
  16. bool "SuperH DMA API support"
  17. default n
  18. help
  19. SH_DMA_API always enabled DMA API of used SuperH.
  20. If you want to use DMA ENGINE, you must not enable this.
  21. Please enable DMA_ENGINE and SH_DMAE.
  22. config NR_ONCHIP_DMA_CHANNELS
  23. int
  24. depends on SH_DMA
  25. default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
  26. CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091
  27. default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \
  28. CPU_SUBTYPE_SH7760
  29. default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || \
  30. CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7724
  31. default "6"
  32. help
  33. This allows you to specify the number of channels that the on-chip
  34. DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the
  35. SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6.
  36. config SH_DMABRG
  37. bool "SH7760 DMABRG support"
  38. depends on CPU_SUBTYPE_SH7760
  39. help
  40. The DMABRG does data transfers from main memory to Audio/USB units
  41. of the SH7760.
  42. Say Y if you want to use Audio/USB DMA on your SH7760 board.
  43. config PVR2_DMA
  44. tristate "PowerVR 2 DMAC support"
  45. depends on SH_DREAMCAST && SH_DMA
  46. help
  47. Selecting this will enable support for the PVR2 DMA controller.
  48. As this chains off of the on-chip DMAC, that must also be
  49. enabled by default.
  50. This is primarily used by the pvr2fb framebuffer driver for
  51. certain optimizations, but is not necessary for functionality.
  52. If in doubt, say N.
  53. config G2_DMA
  54. tristate "G2 Bus DMA support"
  55. depends on SH_DREAMCAST
  56. select SH_DMA_API
  57. help
  58. This enables support for the DMA controller for the Dreamcast's
  59. G2 bus. Drivers that want this will generally enable this on
  60. their own.
  61. If in doubt, say N.
  62. endmenu