Kconfig 859 B

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