dma: Add possibility for up to 3 DMA Controllers

Currently only 1 is allowed.  While we're at it, let's generify the
existing entries, since they could be used by all controllers, not
just QMSI.

Change-Id: Iec5d195fff239931b21a7584eb4b642b40f95be5
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Lee Jones 2017-02-13 12:10:22 +00:00 committed by Kumar Gala
parent b15693d0e5
commit bb36c0af86

View File

@ -30,16 +30,39 @@ menuconfig DMA_STM32F4X
DMA driver for STM32F4x series SoCs.
config DMA_0_NAME
string "Device name for QMSI DMA Controller"
string "Device name for DMA Controller 0"
default "DMA_0"
help
Device name for the QMSI DMA Controller.
Device name for DMA Controller 0.
config DMA_0_IRQ_PRI
int "IRQ Priority for DMA"
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.
endif # DMA