[U-Boot] [PATCH v2 0/4] mmc: Support designWare Controller

Jaehoon Chung jh80.chung at samsung.com
Tue Jul 3 09:57:59 CEST 2012


Include mmc:dw-mmc:support DesignWare MMC controller at this patchset.
dw-mmc.c is generic interface.(like sdhci.c)
For using dw-mmc controller, need to add the some samsung specific code.
Exynos specific code should be presented into exynos_dw_mmc.c

If want to use with exynos5, must enable the dw-mmc.c.

Changelog v2:
	- Fixed the wrong argument for exynos_dwmci_init()
	- Added CONFIG_DWMMC/CONFIG_EXYNOS_DWMMC at Makefile
	- Changed host->mmc_clk instead of host->get_mmc_clk
	- removed hard-coding value
		: if need, we can set to host->fifoth_val

Jaehoon Chung (4):
  mmc: dw-mmc: support DesignWare MMC Controller
  EXYNOS: clock: add the get_mmc_clk function
  EXYNOS: mmc: support DesignWare Controller for Samsung-SoC
  mmc: dw-mmc: add dw-mmc's confiuration at Makefile

 arch/arm/cpu/armv7/exynos/clock.c        |   78 ++++++
 arch/arm/include/asm/arch-exynos/clk.h   |    1 +
 arch/arm/include/asm/arch-exynos/dwmmc.h |   36 +++
 drivers/mmc/Makefile                     |    3 +
 drivers/mmc/dw_mmc.c                     |  400 ++++++++++++++++++++++++++++++
 drivers/mmc/exynos_dw_mmc.c              |   58 +++++
 include/dwmmc.h                          |  186 ++++++++++++++
 7 files changed, 762 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-exynos/dwmmc.h
 create mode 100644 drivers/mmc/dw_mmc.c
 create mode 100644 drivers/mmc/exynos_dw_mmc.c
 create mode 100644 include/dwmmc.h


More information about the U-Boot mailing list