# SPDX-License-Identifier: GPL-2.0 menu "DMA support" config [31mCONFIG_SH_DMA[0m bool "SuperH on-chip DMA controller (DMAC) support" depends on [31mCONFIG_CPU_SH3[0m || [31mCONFIG_CPU_SH4[0m default n config [31mCONFIG_SH_DMA_IRQ_MULTI[0m bool depends on [31mCONFIG_SH_DMA[0m default y if [31mCONFIG_CPU_SUBTYPE_SH7750[0m || [31mCONFIG_CPU_SUBTYPE_SH7751[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7750S[0m || [31mCONFIG_CPU_SUBTYPE_SH7750R[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7751R[0m || [31mCONFIG_CPU_SUBTYPE_SH7091[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7763[0m || [31mCONFIG_CPU_SUBTYPE_SH7780[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7785[0m || [31mCONFIG_CPU_SUBTYPE_SH7760[0m config [31mCONFIG_SH_DMA_API[0m depends on [31mCONFIG_SH_DMA[0m bool "SuperH DMA API support" default n help [31mCONFIG_SH_DMA_API[0m always enabled DMA API of used SuperH. If you want to use DMA ENGINE, you must not enable this. Please enable [31mCONFIG_DMA_ENGINE[0m and [31mCONFIG_SH_DMAE[0m. config [31mCONFIG_NR_ONCHIP_DMA_CHANNELS[0m int depends on [31mCONFIG_SH_DMA[0m default "4" if [31mCONFIG_CPU_SUBTYPE_SH7750[0m || [31mCONFIG_CPU_SUBTYPE_SH7751[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7750S[0m || [31mCONFIG_CPU_SUBTYPE_SH7091[0m default "8" if [31mCONFIG_CPU_SUBTYPE_SH7750R[0m || [31mCONFIG_CPU_SUBTYPE_SH7751R[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7760[0m default "12" if [31mCONFIG_CPU_SUBTYPE_SH7723[0m || [31mCONFIG_CPU_SUBTYPE_SH7780[0m || \ [31mCONFIG_CPU_SUBTYPE_SH7785[0m || [31mCONFIG_CPU_SUBTYPE_SH7724[0m default "6" help This allows you to specify the number of channels that the on-chip DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6. config [31mCONFIG_SH_DMABRG[0m bool "SH7760 DMABRG support" depends on [31mCONFIG_CPU_SUBTYPE_SH7760[0m help The DMABRG does data transfers from main memory to Audio/[31mCONFIG_USB[0m units of the SH7760. Say Y if you want to use Audio/[31mCONFIG_USB[0m DMA on your SH7760 board. config [31mCONFIG_PVR2_DMA[0m tristate "PowerVR 2 DMAC support" depends on [31mCONFIG_SH_DREAMCAST[0m && [31mCONFIG_SH_DMA[0m help Selecting this will enable support for the PVR2 DMA controller. As this chains off of the on-chip DMAC, that must also be enabled by default. This is primarily used by the pvr2fb framebuffer driver for certain optimizations, but is not necessary for functionality. If in doubt, say N. config [31mCONFIG_G2_DMA[0m tristate "G2 Bus DMA support" depends on [31mCONFIG_SH_DREAMCAST[0m select [31mCONFIG_SH_DMA_API[0m help This enables support for the DMA controller for the Dreamcast's G2 bus. Drivers that want this will generally enable this on their own. If in doubt, say N. endmenu |