Skip to contentSkip to conversation

dmaengine: fsl-edma: add ColdFire mcf5441x edma support

PATCH Superseded Vinod Koul 1 participant 1 message Jun 28, 2018 dmaengine

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH v5 2/2 dmaengine: fsl-edma: add ColdFire mcf5441x edma support

Quoted 9 lines · Geert Uytterhoeven

Hi Vinod,

Quoted 6 lines · Vinod
Quoted 4 lines · Angelo Dureghello

obj-$(CONFIG_EP93XX_DMA) += ep93xx_dma.o obj-$(CONFIG_FSL_DMA) += fsldma.o obj-$(CONFIG_FSL_EDMA) += fsl-edma.o fsl-edma-common.o
+obj-$(CONFIG_MCF_EDMA) += mcf-edma.o fsl-edma-common.o

Quoted 4 lines
Quoted 1 line

that makes kernel have two copies of common.o one in thsi driver and one

Does it? It's a common pattern in several Makefiles (e.g. drivers/net/ethernet/8390/Makefile and drivers/scsi/Makefile)

won't each static symbol be part each one? What about when they are modules?

Quoted 11 lines
Quoted 7 lines

in previous one why not do:

CONFIG_FSL_COMMON += fsl-edma-common.o
CONFIG_FSL_EDMA += fsl-edma.o
CONFIG_MCF_EDMA += mcf-edma.o

and you select CONFIG_FSL_COMMON in both FSL and MCF Kconfig?

That's what he had originally, until I suggested to do the above, as nothing else
needed the CONFIG_FSL_COMMON symbol.

Hmmm, okay what are we gaining from this approach?