qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 08/17] hw/arm/allwinner: add SD/MMC host controller


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 08/17] hw/arm/allwinner: add SD/MMC host controller
Date: Sat, 18 Jan 2020 16:39:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 1/8/20 9:00 PM, Niek Linnenbank wrote:
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 <address@hidden>
---
  include/hw/arm/allwinner-a10.h   |   4 +-
  include/hw/arm/allwinner-h3.h    |   3 +
  include/hw/sd/allwinner-sdhost.h | 136 +++++
  hw/arm/allwinner-a10.c           |  10 +
  hw/arm/allwinner-h3.c            |  15 +-
  hw/arm/cubieboard.c              |  15 +
  hw/arm/orangepi.c                |  16 +
  hw/sd/allwinner-sdhost.c         | 848 +++++++++++++++++++++++++++++++
  hw/sd/Makefile.objs              |   1 +
  hw/sd/trace-events               |   7 +
  10 files changed, 1053 insertions(+), 2 deletions(-)
  create mode 100644 include/hw/sd/allwinner-sdhost.h
  create mode 100644 hw/sd/allwinner-sdhost.c

So far:
Tested-by: Philippe Mathieu-Daudé <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]