mmc: rk_sdmmc: increase max_blk_count for edmac

This commit is contained in:
lintao
2014-08-01 16:55:15 +08:00
parent 8481b02bd4
commit a73af9e69b

View File

@@ -3267,7 +3267,7 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id)
/* fixup for external dmac setting */
mmc->max_segs = 64;
mmc->max_blk_size = 65536; /* BLKSIZ is 16 bits */
mmc->max_blk_count = 512;
mmc->max_blk_count = 65535;
mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
mmc->max_seg_size = mmc->max_req_size;
}