Merge branch 'master' of git://git.denx.de/u-boot-sh
- Various fixes for bugs found by u-boot test.py
This commit is contained in:
@@ -696,7 +696,7 @@ static int sh_mmcif_dm_probe(struct udevice *dev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
host->clk = clk_get_rate(&sh_mmcif_clk);
|
||||
host->clk = clk_set_rate(&sh_mmcif_clk, 97500000);
|
||||
|
||||
plat->cfg.name = dev->name;
|
||||
plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS;
|
||||
|
||||
@@ -783,7 +783,10 @@ int tmio_sd_probe(struct udevice *dev, u32 quirks)
|
||||
plat->cfg.f_min = mclk /
|
||||
(priv->caps & TMIO_SD_CAP_DIV1024 ? 1024 : 512);
|
||||
plat->cfg.f_max = mclk;
|
||||
plat->cfg.b_max = U32_MAX; /* max value of TMIO_SD_SECCNT */
|
||||
if (quirks & TMIO_SD_CAP_16BIT)
|
||||
plat->cfg.b_max = U16_MAX; /* max value of TMIO_SD_SECCNT */
|
||||
else
|
||||
plat->cfg.b_max = U32_MAX; /* max value of TMIO_SD_SECCNT */
|
||||
|
||||
upriv->mmc = &plat->mmc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user