]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sd/trace-events
hw/arm/allwinner: add SD/MMC host controller
authorNiek Linnenbank <nieklinnenbank@gmail.com>
Wed, 11 Mar 2020 22:18:44 +0000 (23:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Mar 2020 16:27:33 +0000 (16:27 +0000)
commit82e4838249b23c3fe20cee295f9c1b3e6abd68d1
tree74024e6c97b7e6d90ccc64b3cf5ac8c79849526e
parent6556617ce1a3c4a2ad91e5c5d1c936ee9134ed04
hw/arm/allwinner: add SD/MMC host controller

The Allwinner System on Chip families sun4i and above contain
an integrated storage controller for Secure Digital (SD) and
Multi Media Card (MMC) interfaces. This commit adds support
for the Allwinner SD/MMC storage controller with the following
emulated features:

 * DMA transfers
 * Direct FIFO I/O
 * Short/Long format command responses
 * Auto-Stop command (CMD12)
 * Insert & remove card detection

The following boards are extended with the SD host controller:

 * Cubieboard (hw/arm/cubieboard.c)
 * Orange Pi PC (hw/arm/orangepi.c)

Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200311221854.30370-9-nieklinnenbank@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/Kconfig
hw/arm/allwinner-a10.c
hw/arm/allwinner-h3.c
hw/arm/cubieboard.c
hw/arm/orangepi.c
hw/sd/Makefile.objs
hw/sd/allwinner-sdhost.c [new file with mode: 0644]
hw/sd/trace-events
include/hw/arm/allwinner-a10.h
include/hw/arm/allwinner-h3.h
include/hw/sd/allwinner-sdhost.h [new file with mode: 0644]