mmc: meson_gx_mmc: reduce maximum frequency
Subsystems (2)
PATCH 1/1 mmc: meson_gx_mmc: reduce maximum frequency
Reduce the maximum frequency to 40MHz to be compatible with more eMMC. And the Amlogic vendor U-Boot also use the maximum frequency of 40MHz.
Signed-off-by Nick Xie <[email protected]>
--- drivers/mmc/meson_gx_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/meson_gx_mmc.c +1 -1
@@ -278,7 +278,7 @@ static int meson_mmc_probe(struct udevice *dev) cfg->host_caps =MMC_MODE_8BIT |MMC_MODE_4BIT | MMC_MODE_HS_52MHz |MMC_MODE_HS ; cfg->f_min =DIV_ROUND_UP (SD_EMMC_CLKSRC_24M ,CLK_MAX_DIV ); - cfg->f_max =100000000 ;/* 100 MHz */ + cfg->f_max =40000000 ;/* 40 MHz */ cfg->b_max =511 ;/* max 512 - 1 blocks */ cfg->name = dev->name;
Signature · 1 line
2.17.1
Neil Armstrong
maintainerHi,
Quoted 5 lines · Nick Xie
Reduce the maximum frequency to 40MHz to be compatible with more eMMC. And the Amlogic vendor U-Boot also use the maximum frequency of 40MHz.
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic)
[1/1] mmc: meson_gx_mmc: reduce maximum frequency
https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/867750c2d9b1f42e9a6e54e4f816fae04cff0dd7
Signature · 1 line
Neil