Skip to contentSkip to conversation

mmc: MMC_OMAP_HS should depend on HAS_DMA

PATCH Applied Geert Uytterhoeven 2 participants 6 messages Jul 9, 2014 – Jul 10, 2014 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 mmc: MMC_OMAP_HS should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `omap_hsmmc_pre_dma_transfer':
omap_hsmmc.c:(.text+0x5a0928): undefined reference to dma_map_sg' drivers/built-in.o: In function omap_hsmmc_dma_cleanup':
omap_hsmmc.c:(.text+0x5a0e8e): undefined reference to dma_unmap_sg' drivers/built-in.o: In function omap_hsmmc_dma_callback':
omap_hsmmc.c:(.text+0x5a1f58): undefined reference to dma_unmap_sg' drivers/built-in.o: In function omap_hsmmc_post_req':
omap_hsmmc.c:(.text+0x5a2082): undefined reference to `dma_unmap_sg'

---
v2:
- Add Acked-by

---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -0
index a5652548230a..97f6452e0d23 100644
@@ -303,6 +303,7 @@ config MMC_OMAP
 
 config MMC_OMAP_HS
 	tristate "TI OMAP High Speed Multimedia Card Interface support"
+	depends on HAS_DMA
 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
 	help
 	  This selects the TI OMAP High Speed Multimedia card Interface.
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 2/3 mmc: MMC_SH_MMCIF should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `sh_mmcif_start_dma_tx':
sh_mmcif.c:(.text+0x5a3286): undefined reference to dma_map_sg' drivers/built-in.o: In function sh_mmcif_start_dma_rx':
sh_mmcif.c:(.text+0x5a33fc): undefined reference to dma_map_sg' drivers/built-in.o: In function sh_mmcif_end_cmd':
sh_mmcif.c:(.text+0x5a3668): undefined reference to `dma_unmap_sg'

---
v2:
- Add Acked-by

---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
index 97f6452e0d23..9ac9d8387df0 100644
@@ -624,7 +624,7 @@ config MMC_DW_PCI
 
 config MMC_SH_MMCIF
 	tristate "SuperH Internal MMCIF support"
-	depends on MMC_BLOCK
+	depends on MMC_BLOCK && HAS_DMA
 	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
 	help
 	  This selects the MMC Host Interface controller (MMCIF).
Signature · 1 line
1.9.1
Applied
#2 lore raw

Re: [PATCH v2 2/3] mmc: MMC_SH_MMCIF should depend on HAS_DMA

Quoted 11 lines · Geert Uytterhoeven

If NO_DMA=y:

drivers/built-in.o: In function `sh_mmcif_start_dma_tx':
sh_mmcif.c:(.text+0x5a3286): undefined reference to dma_map_sg' drivers/built-in.o: In function sh_mmcif_start_dma_rx':
sh_mmcif.c:(.text+0x5a33fc): undefined reference to dma_map_sg' drivers/built-in.o: In function sh_mmcif_end_cmd':
sh_mmcif.c:(.text+0x5a3668): undefined reference to `dma_unmap_sg'

Thanks! Applied for next.

Kind regards
Uffe

Quoted 23 lines

---
v2:
- Add Acked-by

---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -2
index 97f6452e0d23..9ac9d8387df0 100644
@@ -624,7 +624,7 @@ config MMC_DW_PCI
 
 config MMC_SH_MMCIF
        tristate "SuperH Internal MMCIF support"
-       depends on MMC_BLOCK
+       depends on MMC_BLOCK && HAS_DMA
        depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
        help
          This selects the MMC Host Interface controller (MMCIF).
--

1.9.1

#3 lore raw

PATCH v2 3/3 mmc: MMC_USDHI6ROL0 should depend on HAS_DMA

In reply to Geert Uytterhoeven

If NO_DMA=y:

drivers/built-in.o: In function `usdhi6_dma_setup':
usdhi6rol0.c:(.text+0x5c35fc): undefined reference to dma_map_sg' drivers/built-in.o: In function usdhi6_dma_stop_unmap':
usdhi6rol0.c:(.text+0x5c3738): undefined reference to `dma_unmap_sg'

---
v2:
- New

---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -0
index 9ac9d8387df0..5ccde78e0110 100644
@@ -698,6 +698,7 @@ config MMC_WMT
 
 config MMC_USDHI6ROL0
 	tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
+	depends on HAS_DMA
 	help
 	  This selects support for the Renesas USDHI6ROL0 SD/SDIO
 	  Host Controller
Signature · 1 line
1.9.1
Applied
#4 lore raw

Re: [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 should depend on HAS_DMA

Quoted 8 lines · Geert Uytterhoeven

If NO_DMA=y:

drivers/built-in.o: In function `usdhi6_dma_setup':
usdhi6rol0.c:(.text+0x5c35fc): undefined reference to dma_map_sg' drivers/built-in.o: In function usdhi6_dma_stop_unmap':
usdhi6rol0.c:(.text+0x5c3738): undefined reference to `dma_unmap_sg'

Thanks! Applied for next.

Kind regards
Uffe

Quoted 22 lines

---
v2:
- New

---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -1
index 9ac9d8387df0..5ccde78e0110 100644
@@ -698,6 +698,7 @@ config MMC_WMT
 
 config MMC_USDHI6ROL0
        tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
+       depends on HAS_DMA
        help
          This selects support for the Renesas USDHI6ROL0 SD/SDIO
          Host Controller
--

1.9.1

Applied
#5 lore raw
In reply to Geert Uytterhoeven
Quoted 11 lines · Geert Uytterhoeven

If NO_DMA=y:

drivers/built-in.o: In function `omap_hsmmc_pre_dma_transfer':
omap_hsmmc.c:(.text+0x5a0928): undefined reference to dma_map_sg' drivers/built-in.o: In function omap_hsmmc_dma_cleanup':
omap_hsmmc.c:(.text+0x5a0e8e): undefined reference to dma_unmap_sg' drivers/built-in.o: In function omap_hsmmc_dma_callback':
omap_hsmmc.c:(.text+0x5a1f58): undefined reference to dma_unmap_sg' drivers/built-in.o: In function omap_hsmmc_post_req':
omap_hsmmc.c:(.text+0x5a2082): undefined reference to `dma_unmap_sg'

Quoted 2 lines

Thanks! Applied for next.

Kind regards
Uffe

Quoted 22 lines

---
v2:
- Add Acked-by

---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -1
index a5652548230a..97f6452e0d23 100644
@@ -303,6 +303,7 @@ config MMC_OMAP
 
 config MMC_OMAP_HS
        tristate "TI OMAP High Speed Multimedia Card Interface support"
+       depends on HAS_DMA
        depends on ARCH_OMAP2PLUS || COMPILE_TEST
        help
          This selects the TI OMAP High Speed Multimedia card Interface.
--

1.9.1