blob: 00a3a80f6d1e45a2a7528e793b58c3086db2b646 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
menuconfig RT_USING_DMA
bool "Using Direct Memory Access (DMA)"
depends on RT_USING_DM
select RT_USING_ADT
select RT_USING_ADT_BITMAP
default n
help
Enable the DMA framework so DM-aware SoC drivers can request DMA channels,
submit descriptors, and share controller instances that are described in
the device tree. This pulls in the generic DMA core (`dma.c`) and the pool
allocator used by slave/peripheral clients. Select it whenever your board
has DMA-capable peripherals (MMC, SPI, audio, etc.) that need offloading;
leave it disabled only on targets without DMA hardware to save code size.
config RT_DMA_PL330
bool "ARM PL330"
depends on RT_USING_DMA
depends on RT_USING_CLK
depends on RT_USING_RESET
default n
if RT_USING_DMA
osource "$(SOC_DM_DMA_DIR)/Kconfig"
endif
|