Commit bb36c0af authored by Lee Jones's avatar Lee Jones Committed by Kumar Gala
Browse files

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: default avatarLee Jones <lee.jones@linaro.org>
parent b15693d0
Loading
Loading
Loading
Loading
+26 −3
Original line number Diff line number Diff line
@@ -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