difos/package/boot/uboot-mediatek/patches/250-fix-mmc-erase-timeout.patch
Shiji Yang 41a9c9de66 uboot-mediatek: update to v2025.07
Update to the latest version.

Suppressed patch:
  100-04-env-add-support-for-generic-MTD-device.patch[1]

[1] 03fb08d4ae

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
2025-07-19 02:59:15 +01:00

11 lines
311 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;
u32 grpcnt;