[RFC 5/5] bcm2835_defconfig: use bcm2835-mmc instead sdhci-bcm2835

Piotr Król piotr.krol at 3mdeb.com
Tue Oct 28 17:04:16 PDT 2014


bcm2835-mmc improves MMC throughput and system CPU load by using DMA
with slave_sg transfer mode instead of PIO mode used by sdhci-bcm2835.

Signed-off-by: Piotr Król <piotr.krol at 3mdeb.com>
---
 arch/arm/configs/bcm2835_defconfig | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 0302d293fba0..186244415ce1 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -86,7 +86,9 @@ CONFIG_USB_STORAGE=y
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
-CONFIG_MMC_SDHCI_BCM2835=y
+CONFIG_MMC_BCM2835=y
+CONFIG_MMC_BCM2835_DMA=y
+CONFIG_MMC_BCM2835_PIO_DMA_BARRIER=2
 CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_TRIGGER_TIMER=y
 CONFIG_LEDS_TRIGGER_ONESHOT=y
@@ -96,6 +98,11 @@ CONFIG_LEDS_TRIGGER_GPIO=y
 CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
 CONFIG_LEDS_TRIGGER_TRANSIENT=y
 CONFIG_LEDS_TRIGGER_CAMERA=y
+CONFIG_DMADEVICES=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_VIRTUAL_CHANNELS=y
+CONFIG_DMA_OF=y
+CONFIG_DMA_BCM2835=y
 CONFIG_STAGING=y
 CONFIG_USB_DWC2=y
 # CONFIG_IOMMU_SUPPORT is not set
-- 
2.1.1




More information about the linux-rpi-kernel mailing list