2016-06-15 04:16:13 +08:00
|
|
|
# Kconfig - DMA configuration options
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-06-15 04:16:13 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# DMA options
|
|
|
|
#
|
|
|
|
menuconfig DMA
|
|
|
|
bool
|
|
|
|
prompt "DMA driver Configuration"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if DMA
|
|
|
|
config DMA_0_NAME
|
2017-02-13 20:10:22 +08:00
|
|
|
string "Device name for DMA Controller 0"
|
2016-06-15 04:16:13 +08:00
|
|
|
default "DMA_0"
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Device name for DMA Controller 0.
|
2016-06-15 04:16:13 +08:00
|
|
|
|
|
|
|
config DMA_0_IRQ_PRI
|
2017-02-13 20:10:22 +08:00
|
|
|
int "IRQ Priority for DMA Controller 0"
|
2016-06-15 04:16:13 +08:00
|
|
|
default 3
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
IRQ Priority for the DMA Controller.
|
2016-06-15 04:16:13 +08:00
|
|
|
|
2017-02-13 20:10:22 +08:00
|
|
|
config DMA_1_NAME
|
|
|
|
string "Device name for DMA Controller 1"
|
|
|
|
default "DMA_1"
|
2016-10-13 18:39:09 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Device name for DMA Controller 1.
|
2017-02-13 20:10:22 +08:00
|
|
|
|
|
|
|
config DMA_1_IRQ_PRI
|
|
|
|
int "IRQ Priority for DMA Controller 1"
|
|
|
|
default 3
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
IRQ Priority for DMA Controller 1.
|
2017-02-13 20:10:22 +08:00
|
|
|
|
|
|
|
config DMA_2_NAME
|
|
|
|
string "Device name for DMA Controller 2"
|
|
|
|
default "DMA_2"
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Device name for DMA Controller 2.
|
2017-02-13 20:10:22 +08:00
|
|
|
|
|
|
|
config DMA_2_IRQ_PRI
|
|
|
|
int "IRQ Priority for DMA Controller 2"
|
|
|
|
default 3
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
IRQ Priority for DMA Controller 2.
|
2017-02-13 20:10:22 +08:00
|
|
|
|
2017-06-07 05:36:26 +08:00
|
|
|
config SYS_LOG_DMA_LEVEL
|
|
|
|
int
|
|
|
|
prompt "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
|
2017-08-17 03:10:00 +08:00
|
|
|
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
|
2017-06-07 05:36:26 +08:00
|
|
|
|
2017-06-07 05:34:58 +08:00
|
|
|
source "drivers/dma/Kconfig.qmsi"
|
2017-02-17 20:08:06 +08:00
|
|
|
|
2017-06-07 05:34:58 +08:00
|
|
|
source "drivers/dma/Kconfig.stm32f4x"
|
2017-02-17 20:08:06 +08:00
|
|
|
|
2017-01-21 00:52:34 +08:00
|
|
|
source "drivers/dma/Kconfig.sam_xdmac"
|
|
|
|
|
2016-06-15 04:16:13 +08:00
|
|
|
endif # DMA
|