zephyr/drivers/dma/Kconfig
Maureen Helm b539699a98 drivers: dma: Refactor drivers to use shared init priority
Refactors all of the DMA drivers to use a shared driver class
initialization priority configuration, CONFIG_DMA_INIT_PRIORITY, to
allow configuring DMA drivers separately from other devices. This is
similar to other driver classes like I2C and SPI.

Most drivers previously used CONFIG_KERNEL_INIT_PRIORITY_DEFAULT or
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, therefore the default for this new
option is the lower of the two, which means earlier initialization.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2021-10-29 22:55:03 -04:00

48 lines
906 B
Plaintext

# DMA configuration options
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# DMA options
#
menuconfig DMA
bool "DMA driver Configuration"
if DMA
config DMA_64BIT
bool "DMA 64 bit address support"
help
When this option is true, 64 bit source and dest
DMA addresses are supported.
config DMA_INIT_PRIORITY
int "DMA init priority"
default KERNEL_INIT_PRIORITY_DEFAULT
help
DMA driver device initialization priority.
module = DMA
module-str = dma
source "subsys/logging/Kconfig.template.log_config"
source "drivers/dma/Kconfig.stm32"
source "drivers/dma/Kconfig.sam_xdmac"
source "drivers/dma/Kconfig.dw"
source "drivers/dma/Kconfig.nios2_msgdma"
source "drivers/dma/Kconfig.sam0"
source "drivers/dma/Kconfig.mcux_edma"
source "drivers/dma/Kconfig.mcux_lpc"
source "drivers/dma/Kconfig.dma_pl330"
source "drivers/dma/Kconfig.iproc_pax"
endif # DMA