projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae78fa
)
mmc: meson: increase max block number per request
author
Heiner Kallweit
<hkallweit1@gmail.com>
Fri, 14 Apr 2017 08:10:19 +0000
(10:10 +0200)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 29 May 2017 08:28:52 +0000
(17:28 +0900)
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>
drivers/mmc/meson_gx_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/meson_gx_mmc.c
b/drivers/mmc/meson_gx_mmc.c
index
8e28ab7
..
2dda1b7
100644
(file)
--- a/
drivers/mmc/meson_gx_mmc.c
+++ b/
drivers/mmc/meson_gx_mmc.c
@@
-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;