Skip to content

Commit e5e0ad2

Browse files
authored
[DM/DMA] Update DMA #10987
* Append WT attribute. * Change the API with pool size only. * Add address mask for DMA * Change DMA lock to mutex * Add pause callback for DMA engine driver * Add DMA Engine test * Add ARM PL330 DMA Engine driver
1 parent 0ea9d8f commit e5e0ad2

File tree

7 files changed

+1365
-33
lines changed

7 files changed

+1365
-33
lines changed

components/drivers/dma/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ menuconfig RT_USING_DMA
55
select RT_USING_ADT_BITMAP
66
default n
77

8+
config RT_DMA_PL330
9+
bool "ARM PL330"
10+
depends on RT_USING_DMA
11+
depends on RT_USING_CLK
12+
depends on RT_USING_RESET
13+
default n
14+
815
if RT_USING_DMA
916
osource "$(SOC_DM_DMA_DIR)/Kconfig"
1017
endif

components/drivers/dma/SConscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ CPPPATH = [cwd + '/../include']
1010

1111
src = ['dma.c', 'dma_pool.c']
1212

13+
if GetDepend(['RT_DMA_PL330']):
14+
src += ['dma-pl330.c']
15+
1316
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
1417

1518
Return('group')

0 commit comments

Comments
 (0)