From: Bin Meng <bmeng.cn@gmail.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: [PATCH v2 0/3] hw/sd: Add Cadence SDHCI emulation
Date: Mon, 17 Aug 2020 18:03:51 +0800 [thread overview]
Message-ID: <1597658633-12802-1-git-send-email-bin.meng@windriver.com> (raw)
This series is spun off from the following series as it is hw/sd
centric, so that it can be picked up separately by Philippe.
http://patchwork.ozlabs.org/project/qemu-devel/list/?series=195648
This series fixed 2 SD card issues, and added a new model for
Cadence SDHCI controller.
Patch "[09/18] hw/sd: sdhci: Make sdhci_poweron_reset() internal visible"
in this series per the review comments.
Changes in v2:
- remove the pointless zero initialization
- fix SDSC size check in sd_set_csd() too
- use 's' for the model state
- call device_cold_reset() in cadence_sdhci_reset()
- add .impl in cadence_sdhci_ops
- move Cadence specific register defines to cadence_sdhci.c
- use 'sdhci' instead of 'slot' to represent SDHCIState
- use sysbus_mmio_get_region() to access SDHCI model's memory region
- initialize TYPE_SYSBUS_SDHCI in the instance_init() so that users
of Cadence SDHCI do not have to do that themselves
- propergate irq and 'sd-bus' from generic-sdhci
Bin Meng (3):
hw/sd: sd: Fix incorrect populated function switch status data
structure
hw/sd: sd: Correct the maximum size of a Standard Capacity SD Memory
Card
hw/sd: Add Cadence SDHCI emulation
hw/sd/Kconfig | 4 +
hw/sd/Makefile.objs | 1 +
hw/sd/cadence_sdhci.c | 200 ++++++++++++++++++++++++++++++++++++++++++
hw/sd/sd.c | 9 +-
include/hw/sd/cadence_sdhci.h | 46 ++++++++++
5 files changed, 257 insertions(+), 3 deletions(-)
create mode 100644 hw/sd/cadence_sdhci.c
create mode 100644 include/hw/sd/cadence_sdhci.h
--
2.7.4
next reply other threads:[~2020-08-17 10:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-17 10:03 Bin Meng [this message]
2020-08-17 10:03 ` [PATCH v2 1/3] hw/sd: sd: Fix incorrect populated function switch status data structure Bin Meng
2020-08-17 10:03 ` [PATCH v2 2/3] hw/sd: sd: Correct the maximum size of a Standard Capacity SD Memory Card Bin Meng
2020-08-17 10:06 ` Philippe Mathieu-Daudé
2020-08-20 18:04 ` [PATCH v2 0/3] hw/sd: Add Cadence SDHCI emulation Philippe Mathieu-Daudé
2020-08-21 0:54 ` Bin Meng
2020-08-21 14:21 ` Philippe Mathieu-Daudé
2020-08-21 14:30 ` Bin Meng
-- strict thread matches above, loose matches on Subject: below --
2020-08-17 10:05 Bin Meng
2020-08-18 17:11 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1597658633-12802-1-git-send-email-bin.meng@windriver.com \
--to=bmeng.cn@gmail.com \
--cc=f4bug@amsat.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).