Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. menu "DMA support"
  2. config SH_DMA
  3. bool "DMA controller (DMAC) support"
  4. help
  5. Selecting this option will provide same API as PC's Direct Memory
  6. Access Controller(8237A) for SuperH DMAC.
  7. If unsure, say N.
  8. config NR_ONCHIP_DMA_CHANNELS
  9. depends on SH_DMA
  10. int "Number of on-chip DMAC channels"
  11. default "4"
  12. help
  13. This allows you to specify the number of channels that the on-chip
  14. DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the
  15. SH7750R/SH7751R.
  16. config NR_DMA_CHANNELS_BOOL
  17. depends on SH_DMA
  18. bool "Override default number of maximum DMA channels"
  19. help
  20. This allows you to forcibly update the maximum number of supported
  21. DMA channels for a given board. If this is unset, this will default
  22. to the number of channels that the on-chip DMAC has.
  23. config NR_DMA_CHANNELS
  24. int "Maximum number of DMA channels"
  25. depends on SH_DMA && NR_DMA_CHANNELS_BOOL
  26. default NR_ONCHIP_DMA_CHANNELS
  27. help
  28. This allows you to specify the maximum number of DMA channels to
  29. support. Setting this to a higher value allows for cascading DMACs
  30. with additional channels.
  31. config DMA_PAGE_OPS
  32. bool "Use DMAC for page copy/clear"
  33. depends on SH_DMA && BROKEN
  34. help
  35. Selecting this option will use a dual-address mode configured channel
  36. in the SH DMAC for copy_page()/clear_page(). Primarily a performance
  37. hack.
  38. config DMA_PAGE_OPS_CHANNEL
  39. depends on DMA_PAGE_OPS
  40. int "DMA channel for sh memory-manager page copy/clear"
  41. default "3"
  42. help
  43. This allows the specification of the dual address dma channel,
  44. in case channel 3 is unavailable. On the SH4, channels 1,2, and 3
  45. are dual-address capable.
  46. endmenu