ARM: omap2: add select of TI_PRIV_EDMA
Subsystems (3)
PATCH 1/1 ARM: omap2: add select of TI_PRIV_EDMA
"ARM: OMAP: build mach-omap code only if needed" moved around the ARCH_OMAP2PLUS stanza, but accidentally dropped the seleciton of TI_PRIV_EDMA in the process. Add it back.
---
I noticed the original patch was a bit down in the fixes branch, so instead of rebasing I checked this in on top.
-Olof
arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +1 -0
@@ -99,6 +99,7 @@ config ARCH_OMAP2PLUS select PROC_DEVICETREE if PROC_FS select SOC_BUS select SPARSE_IRQ + select TI_PRIV_EDMA select USE_OF help Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
Signature · 1 line
1.8.1.192.gc4361b8
Tony Lindgren
maintainerPATCH 1/1 ARM: omap2: add select of TI_PRIV_EDMA
Quoted 5 lines · Olof Johansson
"ARM: OMAP: build mach-omap code only if needed" moved around the
ARCH_OMAP2PLUSstanza, but accidentally dropped the seleciton ofTI_PRIV_EDMAin the process. Add it back.Cc Arnd Bergmann <[email protected]>
Quoted 27 lines
Signed-off-by Olof Johansson <[email protected]>---
I noticed the original patch was a bit down in the fixes branch, so instead of rebasing I checked this in on top.
(quoted diff) +0
-1-Olof arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-omap2/Kconfig +1
-0@@ -99,6 +99,7 @@ config ARCH_OMAP2PLUS select PROC_DEVICETREE if PROC_FS select SOC_BUS select SPARSE_IRQ + select TI_PRIV_EDMA select USE_OF help Systems based on OMAP2, OMAP3, OMAP4 or OMAP5Signature · 1 line
1.8.1.192.gc4361b8
PATCH 1/1 ARM: omap2: add select of TI_PRIV_EDMA
Quoted 10 lines · Tony Lindgren
Quoted 5 lines · Olof Johansson
"ARM: OMAP: build mach-omap code only if needed" moved around the
ARCH_OMAP2PLUSstanza, but accidentally dropped the seleciton ofTI_PRIV_EDMAin the process. Add it back.Cc Arnd Bergmann <[email protected]>Acked-by Tony Lindgren <[email protected]>Quoted 1 line
Signed-off-by Olof Johansson <[email protected]>
Thinking more, I do not think we should be selecting TI_PRIV_EDMA for OMAP2PLUS. There is no part of mach-omap2 that depends directly on TI_PRIV_EDMA being enabled.
Instead, TI_PRIV_EDMA should be selected by the DMA engine driver as done in the patch here:
http://www.spinics.net/lists/kernel/msg1563777.html
Its the DMA engine driver which makes the private DMA calls so this patch is better.
Thanks,
Sekhar
Quoted 32 lines
Quoted 26 lines
---
I noticed the original patch was a bit down in the fixes branch, so instead of rebasing I checked this in on top.
(quoted diff) +0
-1-Olof arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-omap2/Kconfig +1
-0@@ -99,6 +99,7 @@ config ARCH_OMAP2PLUS select PROC_DEVICETREE if PROC_FS select SOC_BUS select SPARSE_IRQ + select TI_PRIV_EDMA select USE_OF help Systems based on OMAP2, OMAP3, OMAP4 or OMAP5Signature · 1 line
1.8.1.192.gc4361b8_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/1 ARM: omap2: add select of TI_PRIV_EDMA
Quoted 16 lines · Sekhar Nori
Quoted 10 lines · Tony Lindgren
Quoted 5 lines · Olof Johansson
"ARM: OMAP: build mach-omap code only if needed" moved around the
ARCH_OMAP2PLUSstanza, but accidentally dropped the seleciton ofTI_PRIV_EDMAin the process. Add it back.Cc Arnd Bergmann <[email protected]>Acked-by Tony Lindgren <[email protected]>Quoted 1 line
Signed-off-by Olof Johansson <[email protected]>Thinking more, I do not think we should be selecting
TI_PRIV_EDMAfor OMAP2PLUS. There is no part of mach-omap2 that depends directly onTI_PRIV_EDMAbeing enabled.
Quoted 7 lines
Instead,
TI_PRIV_EDMAshould be selected by the DMA engine driver as done in the patch here:http://www.spinics.net/lists/kernel/msg1563777.html
Its the DMA engine driver which makes the private DMA calls so this patch is better.
I would have done 'depends on TI_PRIV_EDMA' instead, but any of the three solutions is fine with me.
Arnd
PATCH 1/1 ARM: omap2: add select of TI_PRIV_EDMA
Quoted 20 lines · Arnd Bergmann
Quoted 19 lines · Sekhar Nori
Quoted 10 lines · Tony Lindgren
Quoted 5 lines · Olof Johansson
"ARM: OMAP: build mach-omap code only if needed" moved around the
ARCH_OMAP2PLUSstanza, but accidentally dropped the seleciton ofTI_PRIV_EDMAin the process. Add it back.Cc Arnd Bergmann <[email protected]>Acked-by Tony Lindgren <[email protected]>Quoted 1 line
Signed-off-by Olof Johansson <[email protected]>Thinking more, I do not think we should be selecting
TI_PRIV_EDMAfor OMAP2PLUS. There is no part of mach-omap2 that depends directly onTI_PRIV_EDMAbeing enabled.Instead,
TI_PRIV_EDMAshould be selected by the DMA engine driver as done in the patch here:
Quoted 7 lines
Quoted 4 lines
http://www.spinics.net/lists/kernel/msg1563777.html
Its the DMA engine driver which makes the private DMA calls so this patch is better.
I would have done 'depends on
TI_PRIV_EDMA' instead, but any of the three solutions is fine with me.
TI_PRIV_EDMA is not a user selectable option so if 'depends on' is used, then the select in mach-omap2 is needed as well.
Thanks,
Sekhar