]> git.openpandora.org Git - pandora-kernel.git/commitdiff
mmc: dw_mmc: move rockchip related code to a separate file
authoraddy ke <addy.ke@rock-chips.com>
Tue, 19 Aug 2014 04:36:14 +0000 (12:36 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:16 +0000 (13:59 +0200)
To support HS200 and UHS-1, we need add a big hunk of code,
as shown in the following patches. So a separate file for
rockchip SOCs is suitable.

Signed-off-by: Addy Ke <addy.ke@rock-chips.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/dw_mmc-pltfm.c
drivers/mmc/host/dw_mmc-rockchip.c [new file with mode: 0644]

index a43295c49a44c21d9d297db10b2a6fd14b2f1a60..13860656104b5f58df865ee74501750a3d045c7c 100644 (file)
@@ -638,6 +638,15 @@ config MMC_DW_PCI
 
          If unsure, say N.
 
+config MMC_DW_ROCKCHIP
+       tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
+       depends on MMC_DW && ARCH_ROCKCHIP
+       select MMC_DW_PLTFM
+       help
+         This selects support for Rockchip SoC specific extensions to the
+         Synopsys DesignWare Memory Card Interface driver. Select this option
+         for platforms based on RK3066, RK3188 and RK3288 SoC's.
+
 config MMC_SH_MMCIF
        tristate "SuperH Internal MMCIF support"
        depends on MMC_BLOCK && HAS_DMA
index 2d223463e6c560975f627d82060b6fb8da7de7fc..b09ecfb88269da9f3d1b5796a2b84137e3e10dd5 100644 (file)
@@ -46,6 +46,7 @@ obj-$(CONFIG_MMC_DW_PLTFM)    += dw_mmc-pltfm.o
 obj-$(CONFIG_MMC_DW_EXYNOS)    += dw_mmc-exynos.o
 obj-$(CONFIG_MMC_DW_K3)                += dw_mmc-k3.o
 obj-$(CONFIG_MMC_DW_PCI)       += dw_mmc-pci.o
+obj-$(CONFIG_MMC_DW_ROCKCHIP)  += dw_mmc-rockchip.o
 obj-$(CONFIG_MMC_SH_MMCIF)     += sh_mmcif.o
 obj-$(CONFIG_MMC_JZ4740)       += jz4740_mmc.o
 obj-$(CONFIG_MMC_VUB300)       += vub300.o
Simple merge
Simple merge