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 16 lines · Geert Uytterhoeven

Hi Vinod,

Quoted 13 lines · Vinod
Quoted 11 lines · Geert Uytterhoeven
Quoted 7 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

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)

Quoted 7 lines
Quoted 1 line

won't each static symbol be part each one?

Remember, obj-y is a list, and IIRC it's filtered for duplicates.

Quoted 1 line

What about when they are modules?

Same thing, you'll have fsl-edma-common.ko, and fsl-edma.ko and/or mcf-edma.ko.

Yeah that is right, I missed the list part