Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ if(CONFIG_DW)
add_subdirectory(dw)
endif()

add_subdirectory(generic)

Comment thread
paulstelian97 marked this conversation as resolved.
add_local_sources(sof interrupt.c)
12 changes: 12 additions & 0 deletions src/drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,16 @@ source "src/drivers/intel/cavs/Kconfig"

source "src/drivers/dw/Kconfig"

config DUMMY_DMA
bool "Dummy DMA (software DMA driver)"
Comment thread
dbaluta marked this conversation as resolved.
Outdated
default n
depends on HOST_PTABLE
Comment thread
tlauda marked this conversation as resolved.
Outdated
help
Select this to enable the software-based host DMA implementation.
This driver does all the transfers between host memory and DSP local
buffer memory using regular memcpy. It requires direct access to the
host memory.

If unsure, select "n".

endmenu # "Drivers"
5 changes: 5 additions & 0 deletions src/drivers/generic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_DUMMY_DMA)
add_local_sources(sof dummy-dma.c)
endif()
Loading