projects
/
oweals
/
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 8e28ab70f5ed816540b6b32af11ca8bd3988a44a..2dda1b70646cdfe19bbd89580fe7f94b9ab65452 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;