mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
MMC host:
- dw_mmc: Revert fix for IDMAC operation with pages bigger than 4K - sunxi-mmc: Fix A100 compatible description -----BEGIN PGP SIGNATURE----- iQJLBAABCgA1FiEEugLDXPmKSktSkQsV/iaEJXNYjCkFAmc3GvwXHHVsZi5oYW5z c29uQGxpbmFyby5vcmcACgkQ/iaEJXNYjCknhw/6ArBr62dUObrZ0NgDcqm56hwa NgS0iwinhDZ3h8hM2xgumQ+IDcTAFNxMbcxgmjXPZ38vP9WRy1Una0iRUQrpH8g5 vxFvA0oThQ+2jH54CFvyIcb6QCvKfNGfVsgkmDZKc/uIZc3TfLHdZzbwLT8EXsSv 6lLyFXaQVJD2rFYfGXHqDGOwsSLrRea4Vi6g+lqg/SVoxUQsaH0/h5oKHHcUn3ud asuCB34loeLuXiLmduFEBjeCaIABq/ISzTS4IP5lf7hhzEeaMA1QF2YWQMun/LrU XnfGXjU2jTYY85b4hrFBr5+dBlyAmUuKVhYY0/HBhTKtRLJunxzNto28JZgmYX9z DaEBOkobP13fPoUOKje09pnE3V8sRgAVkanz/fIS+rNe1RR2UI2OdDJWCRn1Ee0O 3ougZrqNvW1RokszqHlCKdAZiZNnEuS3IFlDpNK4Qg3eLSULQjRJie7eFBhqxe/n odsoAyPrg/qaN4QNMa4ta7qdqrw9Fma5R6ijuCGnY2CGF/9XyMYx1mpTZX5ZZlFN mMdTvr+EQQuj9FimA16Zo4JefHviDE9/aSuSsxsUxwGrMRVi+hOlswvU3/gjxFzl A265luWomDfmeRUf5rfbjTEMr6m2a4VP+zghA0OkaXwro3/r3HT/R9EMRPIDM+wD jw2IWfOqZcHpOWdK2D4= =bXBC -----END PGP SIGNATURE----- Merge tag 'mmc-v6.12-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc Pull MMC host fixes from Ulf Hansson: - dw_mmc: Revert fix for IDMAC operation with pages bigger than 4K - sunxi-mmc: Fix A100 compatible description * tag 'mmc-v6.12-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K" mmc: sunxi-mmc: Fix A100 compatible description
This commit is contained in:
commit
aa35f5446f
@ -2957,8 +2957,8 @@ static int dw_mci_init_slot(struct dw_mci *host)
|
|||||||
if (host->use_dma == TRANS_MODE_IDMAC) {
|
if (host->use_dma == TRANS_MODE_IDMAC) {
|
||||||
mmc->max_segs = host->ring_size;
|
mmc->max_segs = host->ring_size;
|
||||||
mmc->max_blk_size = 65535;
|
mmc->max_blk_size = 65535;
|
||||||
mmc->max_req_size = DW_MCI_DESC_DATA_LENGTH * host->ring_size;
|
mmc->max_seg_size = 0x1000;
|
||||||
mmc->max_seg_size = mmc->max_req_size;
|
mmc->max_req_size = mmc->max_seg_size * host->ring_size;
|
||||||
mmc->max_blk_count = mmc->max_req_size / 512;
|
mmc->max_blk_count = mmc->max_req_size / 512;
|
||||||
} else if (host->use_dma == TRANS_MODE_EDMAC) {
|
} else if (host->use_dma == TRANS_MODE_EDMAC) {
|
||||||
mmc->max_segs = 64;
|
mmc->max_segs = 64;
|
||||||
|
@ -1191,10 +1191,9 @@ static const struct sunxi_mmc_cfg sun50i_a64_emmc_cfg = {
|
|||||||
.needs_new_timings = true,
|
.needs_new_timings = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct sunxi_mmc_cfg sun50i_a100_cfg = {
|
static const struct sunxi_mmc_cfg sun50i_h616_cfg = {
|
||||||
.idma_des_size_bits = 16,
|
.idma_des_size_bits = 16,
|
||||||
.idma_des_shift = 2,
|
.idma_des_shift = 2,
|
||||||
.clk_delays = NULL,
|
|
||||||
.can_calibrate = true,
|
.can_calibrate = true,
|
||||||
.mask_data0 = true,
|
.mask_data0 = true,
|
||||||
.needs_new_timings = true,
|
.needs_new_timings = true,
|
||||||
@ -1217,8 +1216,9 @@ static const struct of_device_id sunxi_mmc_of_match[] = {
|
|||||||
{ .compatible = "allwinner,sun20i-d1-mmc", .data = &sun20i_d1_cfg },
|
{ .compatible = "allwinner,sun20i-d1-mmc", .data = &sun20i_d1_cfg },
|
||||||
{ .compatible = "allwinner,sun50i-a64-mmc", .data = &sun50i_a64_cfg },
|
{ .compatible = "allwinner,sun50i-a64-mmc", .data = &sun50i_a64_cfg },
|
||||||
{ .compatible = "allwinner,sun50i-a64-emmc", .data = &sun50i_a64_emmc_cfg },
|
{ .compatible = "allwinner,sun50i-a64-emmc", .data = &sun50i_a64_emmc_cfg },
|
||||||
{ .compatible = "allwinner,sun50i-a100-mmc", .data = &sun50i_a100_cfg },
|
{ .compatible = "allwinner,sun50i-a100-mmc", .data = &sun20i_d1_cfg },
|
||||||
{ .compatible = "allwinner,sun50i-a100-emmc", .data = &sun50i_a100_emmc_cfg },
|
{ .compatible = "allwinner,sun50i-a100-emmc", .data = &sun50i_a100_emmc_cfg },
|
||||||
|
{ .compatible = "allwinner,sun50i-h616-mmc", .data = &sun50i_h616_cfg },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
|
MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
|
||||||
|
Loading…
Reference in New Issue
Block a user