mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
79c830653b
Rockchip rk3399 using arasan sdhci-5.1 controller. This patch add the controller support to enable mmc device with full driver-model support, tested on rk3399 evb board. According to my test result, this driver should be OK, the command "part list mmc 0" can result in a right output, but all the mmc command failed like this: => mmc info No MMC device available Command failed, result=1 The result of get_mmc_num in cmd/mmc.c is always 0? Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
67 lines
2 KiB
Makefile
67 lines
2 KiB
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_DM_MMC
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc-uclass.o
|
|
endif
|
|
|
|
ifndef CONFIG_BLK
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_legacy.o
|
|
endif
|
|
|
|
obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
|
|
obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
|
|
obj-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o
|
|
obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
|
|
obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
|
|
obj-$(CONFIG_DWMMC) += dw_mmc.o
|
|
obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
|
|
obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
|
|
obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
|
|
obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
|
|
obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc.o
|
|
ifdef CONFIG_SUPPORT_EMMC_BOOT
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o
|
|
endif
|
|
obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
|
|
obj-$(CONFIG_KONA_SDHCI) += kona_sdhci.o
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
|
obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
|
|
obj-$(CONFIG_MV_SDHCI) += mv_sdhci.o
|
|
obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
|
|
obj-$(CONFIG_MXC_MMC) += mxcmmc.o
|
|
obj-$(CONFIG_MXS_MMC) += mxsmmc.o
|
|
obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
|
|
obj-$(CONFIG_X86) += pci_mmc.o
|
|
obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
|
|
obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o
|
|
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
|
|
obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
|
|
obj-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o
|
|
ifdef CONFIG_BLK
|
|
ifdef CONFIG_GENERIC_MMC
|
|
obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
|
|
endif
|
|
endif
|
|
obj-$(CONFIG_SDHCI) += sdhci.o
|
|
obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
|
obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
|
|
obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
|
|
obj-$(CONFIG_SPEAR_SDHCI) += spear_sdhci.o
|
|
obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
|
|
obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
|
|
obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
|
|
obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
|
|
else
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
|
|
endif
|
|
obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
|
|
obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o
|