diff options
author | Lu Gao <lu.gao@verisilicon.com> | 2022-03-21 13:56:18 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-10-24 09:12:45 +0300 |
commit | fdeedb886aa40e2e632f365c46c53c3380135073 (patch) | |
tree | e3ce5a403d5b1a3f6b847e2f9e2cfb091295906e /event-loop-base.c | |
parent | 31c6d1d6549a153c0e6023308b47794672c5275b (diff) |
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: d7dfca0807 ("hw/sdhci: introduce standard SD host controller")
Fixes: dfba99f17f ("hw/sdhci: Fix DMA Transfer Block Size field")
Signed-off-by: Lu Gao <lu.gao@verisilicon.com>
Signed-off-by: Jianxian Wen <jianxian.wen@verisilicon.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-ID: <20220321055618.4026-1-lu.gao@verisilicon.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit ae5f70baf549925080fcdbc6c1939c98a4a39246)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions