Skip to content
Snippets Groups Projects
Commit 946df4d5 authored by Lu Gao's avatar Lu Gao Committed by Philippe Mathieu-Daudé
Browse files

hw/sd/sdhci: Block Size Register bits [14:12] is lost


Block Size Register bits [14:12] is SDMA Buffer Boundary, it is missed
in register write, but it is needed in SDMA transfer. e.g. it will be
used in sdhci_sdma_transfer_multi_blocks to calculate boundary_ variables.

Missing this field will cause wrong operation for different SDMA Buffer
Boundary settings.

Fixes: d7dfca08 ("hw/sdhci: introduce standard SD host controller")
Fixes: dfba99f1 ("hw/sdhci: Fix DMA Transfer Block Size field")
Signed-off-by: default avatarLu Gao <lu.gao@verisilicon.com>
Signed-off-by: default avatarJianxian Wen <jianxian.wen@verisilicon.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Message-ID: <20220321055618.4026-1-lu.gao@verisilicon.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
parent 8a5b974b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment