mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 05:52:47 +00:00
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
82 lines
1.6 KiB
Plaintext
82 lines
1.6 KiB
Plaintext
# Kconfig - 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_0_NAME
|
|
string "Device name for DMA Controller 0"
|
|
default "DMA_0"
|
|
help
|
|
Device name for DMA Controller 0.
|
|
|
|
config DMA_0_IRQ_PRI
|
|
int "IRQ Priority for DMA Controller 0"
|
|
default 3
|
|
help
|
|
IRQ Priority for the DMA Controller.
|
|
|
|
config DMA_1_NAME
|
|
string "Device name for DMA Controller 1"
|
|
default "DMA_1"
|
|
help
|
|
Device name for DMA Controller 1.
|
|
|
|
config DMA_1_IRQ_PRI
|
|
int "IRQ Priority for DMA Controller 1"
|
|
default 3
|
|
help
|
|
IRQ Priority for DMA Controller 1.
|
|
|
|
config DMA_2_NAME
|
|
string "Device name for DMA Controller 2"
|
|
default "DMA_2"
|
|
help
|
|
Device name for DMA Controller 2.
|
|
|
|
config DMA_2_IRQ_PRI
|
|
int "IRQ Priority for DMA Controller 2"
|
|
default 3
|
|
help
|
|
IRQ Priority for DMA Controller 2.
|
|
|
|
config SYS_LOG_DMA_LEVEL
|
|
int "DMA Driver Log level"
|
|
depends on SYS_LOG
|
|
default 0
|
|
range 0 4
|
|
help
|
|
Sets log level for DMA drivers.
|
|
Levels are:
|
|
0 OFF, do not write
|
|
1 ERROR, only write SYS_LOG_ERR
|
|
2 WARNING, write SYS_LOG_WRN in addition to previous level
|
|
3 INFO, write SYS_LOG_INF in addition to previous levels
|
|
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
|
|
|
config DCACHE_WRITEBACK
|
|
bool "Data Cache Writeback"
|
|
help
|
|
Cache configuration for "Writeback".
|
|
|
|
source "drivers/dma/Kconfig.qmsi"
|
|
|
|
source "drivers/dma/Kconfig.stm32f4x"
|
|
|
|
source "drivers/dma/Kconfig.sam_xdmac"
|
|
|
|
source "drivers/dma/Kconfig.cavs"
|
|
|
|
source "drivers/dma/Kconfig.nios2_msgdma"
|
|
|
|
endif # DMA
|