mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
The MMC framework in U-Boot does not support a systematic API for timing switch like mmc_set_timing() in Linux. U-Boot just provides a hook to change the clock frequency via mmc_set_clock(). It is up to drivers if additional register settings are needed. This driver needs to set a correct timing mode into a register when it migrates to a different speed mode. Only increasing clock frequency could result in setup/hold timing violation. The timing mode should be decided by checking MMC_TIMING_* like drivers/mmc/host/sdhci-cadence.c in Linux, but "timing" is not supported by U-Boot for now. Just use mmc->clock to decide the timing mode. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> |
||
|---|---|---|
| .. | ||
| arm_pl180_mmci.c | ||
| arm_pl180_mmci.h | ||
| atmel_sdhci.c | ||
| bcm2835_sdhci.c | ||
| davinci_mmc.c | ||
| dw_mmc.c | ||
| exynos_dw_mmc.c | ||
| fsl_esdhc.c | ||
| fsl_esdhc_spl.c | ||
| ftsdc010_mci.c | ||
| gen_atmel_mci.c | ||
| hi6220_dw_mmc.c | ||
| Kconfig | ||
| kona_sdhci.c | ||
| Makefile | ||
| meson_gx_mmc.c | ||
| mmc-uclass.c | ||
| mmc.c | ||
| mmc_boot.c | ||
| mmc_legacy.c | ||
| mmc_private.h | ||
| mmc_spi.c | ||
| mmc_write.c | ||
| msm_sdhci.c | ||
| mv_sdhci.c | ||
| mvebu_mmc.c | ||
| mxcmmc.c | ||
| mxsmmc.c | ||
| omap_hsmmc.c | ||
| pci_mmc.c | ||
| pic32_sdhci.c | ||
| pxa_mmc_gen.c | ||
| rockchip_dw_mmc.c | ||
| rockchip_sdhci.c | ||
| rpmb.c | ||
| s5p_sdhci.c | ||
| sandbox_mmc.c | ||
| sdhci-cadence.c | ||
| sdhci.c | ||
| sh_mmcif.c | ||
| sh_mmcif.h | ||
| sh_sdhi.c | ||
| socfpga_dw_mmc.c | ||
| sti_sdhci.c | ||
| stm32_sdmmc2.c | ||
| sunxi_mmc.c | ||
| tangier_sdhci.c | ||
| tegra_mmc.c | ||
| uniphier-sd.c | ||
| xenon_sdhci.c | ||
| zynq_sdhci.c | ||