1# Copyright 2023 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4config DMA_NXP_SOF_HOST_DMA 5 bool "NXP DMA driver used by SOF's host component" 6 default y 7 depends on DT_HAS_NXP_SOF_HOST_DMA_ENABLED 8 help 9 Enable NXP's DMA driver used by 10 SOF (Sound Open Firmware) host 11 component. Specifically, this driver 12 is used by the SOF host component to 13 perform transfers between the host 14 memory and firmware (local) memory, which 15 can be accessed without an actual 16 DMA engine. 17 18if DMA_NXP_SOF_HOST_DMA 19 20config DMA_NXP_SOF_HOST_DMA_ALIGN 21 int "Alignment (in bytes) required for memory regions passed to this driver" 22 default 8 23 help 24 Use this to set the alignment (in bytes) 25 which shall be used by entities employing 26 this driver to adjust a memory region's size 27 and base address. Since this driver doesn't 28 actually have any hardware to back it up this 29 configuration doesn't make much sense as there's 30 no alignment restrictions imposed by memcpy. 31 Nevertheless, this is needed because this driver 32 needs to act as if it controls a DMA engine. 33 34endif # DMA_NXP_SOF_HOST_DMA 35