mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 06:26:15 +00:00
f8c22c9bff
Update to latest U-Boot release. Patches refreshed and fixed when needed. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
12 lines
321 B
Diff
12 lines
321 B
Diff
--- a/drivers/mmc/mmc_write.c
|
|
+++ b/drivers/mmc/mmc_write.c
|
|
@@ -79,7 +79,7 @@ ulong mmc_berase(struct blk_desc *block_
|
|
u32 start_rem, blkcnt_rem, erase_args = 0;
|
|
struct mmc *mmc = find_mmc_device(dev_num);
|
|
lbaint_t blk = 0, blk_r = 0;
|
|
- int timeout_ms = 1000;
|
|
+ int timeout_ms = blkcnt;
|
|
|
|
if (!mmc)
|
|
return -1;
|