[PATCH 0/4] hw/arm: Add MMC device for NPCM7XX boards

Hao Wu posted 4 patches 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210907232555.3268967-1-wuhaotsh@google.com
Maintainers: Tyrone Ting <kfting@nuvoton.com>, Paolo Bonzini <pbonzini@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Havard Skinnemoen <hskinnemoen@google.com>, Thomas Huth <thuth@redhat.com>
There is a newer version of this series
hw/arm/npcm7xx.c                 |  12 +-
hw/arm/npcm7xx_boards.c          |  21 ++++
hw/sd/meson.build                |   1 +
hw/sd/npcm7xx_sdhci.c            | 131 ++++++++++++++++++++
include/hw/arm/npcm7xx.h         |   2 +
include/hw/sd/npcm7xx_sdhci.h    |  65 ++++++++++
tests/qtest/libqos/meson.build   |   1 +
tests/qtest/libqos/sdhci-cmd.c   | 116 ++++++++++++++++++
tests/qtest/libqos/sdhci-cmd.h   |  70 +++++++++++
tests/qtest/meson.build          |   1 +
tests/qtest/npcm7xx_sdhci-test.c | 201 +++++++++++++++++++++++++++++++
11 files changed, 620 insertions(+), 1 deletion(-)
create mode 100644 hw/sd/npcm7xx_sdhci.c
create mode 100644 include/hw/sd/npcm7xx_sdhci.h
create mode 100644 tests/qtest/libqos/sdhci-cmd.c
create mode 100644 tests/qtest/libqos/sdhci-cmd.h
create mode 100644 tests/qtest/npcm7xx_sdhci-test.c
[PATCH 0/4] hw/arm: Add MMC device for NPCM7XX boards
Posted by Hao Wu 2 years, 6 months ago
This patch set implements the Nuvoton MMC device
for NPCM7XX boards.

The MMC device is compatible with the SDHCI interface
in QEMU. It allows the user to attach an SD card image
to it.

Shengtan Mao (4):
  tests/qtest/libqos: add SDHCI commands
  hw/sd: add nuvoton MMC
  hw/arm: Attach MMC to quanta-gbs-bmc
  tests/qtest: add qtests for npcm7xx sdhci

 hw/arm/npcm7xx.c                 |  12 +-
 hw/arm/npcm7xx_boards.c          |  21 ++++
 hw/sd/meson.build                |   1 +
 hw/sd/npcm7xx_sdhci.c            | 131 ++++++++++++++++++++
 include/hw/arm/npcm7xx.h         |   2 +
 include/hw/sd/npcm7xx_sdhci.h    |  65 ++++++++++
 tests/qtest/libqos/meson.build   |   1 +
 tests/qtest/libqos/sdhci-cmd.c   | 116 ++++++++++++++++++
 tests/qtest/libqos/sdhci-cmd.h   |  70 +++++++++++
 tests/qtest/meson.build          |   1 +
 tests/qtest/npcm7xx_sdhci-test.c | 201 +++++++++++++++++++++++++++++++
 11 files changed, 620 insertions(+), 1 deletion(-)
 create mode 100644 hw/sd/npcm7xx_sdhci.c
 create mode 100644 include/hw/sd/npcm7xx_sdhci.h
 create mode 100644 tests/qtest/libqos/sdhci-cmd.c
 create mode 100644 tests/qtest/libqos/sdhci-cmd.h
 create mode 100644 tests/qtest/npcm7xx_sdhci-test.c

-- 
2.33.0.153.gba50c8fa24-goog