]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sd/allwinner-sdhost.c
hw: sd: allwinner-sdhost: Add sun50i-a64 SoC support
authorqianfan Zhao <qianfanguijin@163.com>
Tue, 6 Jun 2023 09:19:33 +0000 (10:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Jun 2023 09:19:33 +0000 (10:19 +0100)
commit2c992b88ccfc28897e5523b847c3dc1a68be0e11
tree0e4ef769a09e37f2ff2850d0d390671b15436def
parent4a52ef61d901290da8ece2bf99546af1389ff7bb
hw: sd: allwinner-sdhost: Add sun50i-a64 SoC support

A64's sd register was similar to H3, and it introduced a new register
named SAMP_DL_REG location at 0x144. The dma descriptor buffer size of
mmc2 is only 8K and the other mmc controllers has 64K.

Also fix allwinner-r40's mmc controller type.

Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-r40.c
hw/sd/allwinner-sdhost.c
include/hw/sd/allwinner-sdhost.h