dmaengine: fsl-edma: add ColdFire mcf5441x edma support
Vinod Koul
maintainerPATCH 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/Makefileanddrivers/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.oCONFIG_FSL_EDMA+= fsl-edma.oCONFIG_MCF_EDMA+= mcf-edma.oand you select
CONFIG_FSL_COMMONin both FSL and MCFKconfig?That's what he had originally, until I suggested to do the above, as nothing else
needed theCONFIG_FSL_COMMONsymbol.
Hmmm, okay what are we gaining from this approach?