Skip to contentSkip to conversation

mmc: sh_mmcif: add support for Renesas MMCIF

PATCH New Yoshihiro Shimoda 1 participant 1 message Jul 5, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mmc: sh_mmcif: add support for Renesas MMCIF

Some Renesas SuperH have MMCIF module. This driver supports it.

---
 README                 |    9 +
 drivers/mmc/Makefile   |    1 +
 drivers/mmc/sh_mmcif.c |  608 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/mmc/sh_mmcif.h |  238 +++++++++++++++++++
 4 files changed, 856 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mmc/sh_mmcif.c
 create mode 100644 drivers/mmc/sh_mmcif.h
README +9 -0
index 2da0f96..15eb6a2 100644
@@ -1054,6 +1054,15 @@ The following options need to be configured:
 		enabled with CONFIG_CMD_MMC. The MMC driver also works with
 		the FAT fs. This is enabled with CONFIG_CMD_FAT.
 
+		CONFIG_SH_MMCIF
+		Support for Renesas on-chip MMCIF controller
+
+			CONFIG_SH_MMCIF_ADDR
+			Define the base address of MMCIF registers
+
+			CONFIG_SH_MMCIF_CLK
+			Define the clock frequency for MMCIF
+
 - Journaling Flash filesystem support:
 		CONFIG_JFFS2_NAND, CONFIG_JFFS2_NAND_OFF, CONFIG_JFFS2_NAND_SIZE,
 		CONFIG_JFFS2_NAND_DEV
drivers/mmc/Makefile +1 -0
index a8fe17a..2218961 100644
@@ -38,6 +38,7 @@ COBJS-$(CONFIG_OMAP3_MMC) += omap3_mmc.o
 COBJS-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
 COBJS-$(CONFIG_PXA_MMC) += pxa_mmc.o
 COBJS-$(CONFIG_S5P_MMC) += s5p_mmc.o
+COBJS-$(CONFIG_SH_MMCIF) += sh_mmcif.o
 
 COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)
drivers/mmc/sh_mmcif.c new file +608 -0

608 lines not on this page · raw message

drivers/mmc/sh_mmcif.h new file +238 -0

238 lines not on this page · raw message

Signature · 1 line
1.7.1