mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
mmc: meson: increase max block number per request
Number of blocks is a 9 bit field where 0 stands for a unlimited number of blocks. Therefore the max number of blocks which can be set is 511. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
This commit is contained in:
parent
aae78fa774
commit
f98205c7e4
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ static int meson_mmc_probe(struct udevice *dev)
|
|||
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->b_max = 256; /* max 256 blocks */
|
||||
cfg->b_max = 511; /* max 512 - 1 blocks */
|
||||
cfg->name = dev->name;
|
||||
|
||||
mmc->priv = pdata;
|
||||
|
|
Loading…
Reference in a new issue