Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. menu "DMA support"
  2. config SH_DMA_API
  3. bool
  4. config SH_DMA
  5. bool "SuperH on-chip DMA controller (DMAC) support"
  6. select SH_DMA_API
  7. default n
  8. config NR_ONCHIP_DMA_CHANNELS
  9. depends on SH_DMA
  10. int "Number of on-chip DMAC channels"
  11. default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R
  12. default "12" if CPU_SUBTYPE_SH7780
  13. default "4"
  14. help
  15. This allows you to specify the number of channels that the on-chip
  16. DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the
  17. SH7750R/SH7751R.
  18. config NR_DMA_CHANNELS_BOOL
  19. depends on SH_DMA
  20. bool "Override default number of maximum DMA channels"
  21. help
  22. This allows you to forcibly update the maximum number of supported
  23. DMA channels for a given board. If this is unset, this will default
  24. to the number of channels that the on-chip DMAC has.
  25. config NR_DMA_CHANNELS
  26. int "Maximum number of DMA channels"
  27. depends on SH_DMA && NR_DMA_CHANNELS_BOOL
  28. default NR_ONCHIP_DMA_CHANNELS
  29. help
  30. This allows you to specify the maximum number of DMA channels to
  31. support. Setting this to a higher value allows for cascading DMACs
  32. with additional channels.
  33. config SH_DMABRG
  34. bool "SH7760 DMABRG support"
  35. depends on CPU_SUBTYPE_SH7760
  36. help
  37. The DMABRG does data transfers from main memory to Audio/USB units
  38. of the SH7760.
  39. Say Y if you want to use Audio/USB DMA on your SH7760 board.
  40. endmenu