mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
b312c590bc
This patch adds SD/MMC support for STM32H7 SoCs. Here is an extraction of SDMMC main features, embedded in STM32H7 SoCs. The SD/MMC block include the following: _ Full compliance with MultiMediaCard System Specification Version 4.51. Card support for three different databus modes: 1-bit (default), 4-bit and 8-bit. _ Full compatibility with previous versions of MultiMediaCards (backward compatibility). _ Full compliance with SD memory card specifications version 4.1. (SDR104 SDMMC_CK speed limited to maximum allowed IO speed, SPI mode and UHS-II mode not supported). _ Full compliance with SDIO card specification version 4.0. Card support for two different databus modes: 1-bit (default) and 4-bit. (SDR104 SDMMC_CK speed limited to maximum allowed IO speed, SPI mode and UHS-II mode not supported). _ Data transfer up to 208 Mbyte/s for the 8 bit mode. (depending maximum allowed IO speed). _ Data and command output enable signals to control external bidirectional drivers. The current version of the SDMMC supports only one SD/SDIO/MMC card at any one time and a stack of MMC Version 4.51 or previous. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
67 lines
2.2 KiB
Makefile
67 lines
2.2 KiB
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += mmc.o
|
|
obj-$(CONFIG_$(SPL_)DM_MMC) += mmc-uclass.o
|
|
|
|
ifndef CONFIG_$(SPL_)BLK
|
|
obj-y += mmc_legacy.o
|
|
endif
|
|
|
|
obj-$(CONFIG_SUPPORT_EMMC_BOOT) += mmc_boot.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
|
|
obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o
|
|
else
|
|
obj-y += mmc_write.o
|
|
endif
|
|
|
|
obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
|
|
obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
|
|
obj-$(CONFIG_MMC_DW) += dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o
|
|
obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
|
|
obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
|
|
obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
|
|
obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
|
obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
|
|
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
|
|
obj-$(CONFIG_MMC_MXC) += mxcmmc.o
|
|
obj-$(CONFIG_MMC_MXS) += mxsmmc.o
|
|
obj-$(CONFIG_MMC_PCI) += pci_mmc.o
|
|
obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
|
|
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
|
|
obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o
|
|
obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
|
obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
|
|
obj-$(CONFIG_STM32_SDMMC2) += stm32_sdmmc2.o
|
|
|
|
# SDHCI
|
|
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o
|
|
obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_MSM) += msm_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_PIC32) += pic32_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_ROCKCHIP) += rockchip_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_STI) += sti_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_TANGIER) += tangier_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o
|
|
obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_ZYNQ) += zynq_sdhci.o
|
|
|
|
obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
|
|
obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
|