So, this SDHCI implementation is working and it couldn't lock-up QEMU, It'd be really great to have it merged during next development window. Any issues we have we can address later.
On 02/07/2013 10:50 AM, Peter Crosthwaite wrote:
[Original cover by Igor] First patch introduces standard SD host controller model. This is accumulated version of my previous patch I sent a while ago and a recent SDHCI patch by Peter A. G. Crosthwaite. Second patch introduces Exynos4210-specific SDHCI built on top of standard SDHCI model. Second patch changes the -sd command line argument to be repeatable, to support multiple SD controllers in one system. Third patch adds 2x SDHCI controllers to the Xilinx Zynq machine Changelog: Changed from v8: Addressed Igor review Changed from v6: Dropped exynos4210 patch Addressed PMM review Changed from v5: Igors IRQ changes RE PMM review. Changed from v4: Igors changes re PMM review (P1/2) Typo in commit msg (P3) removed redundant braces in P4 Changed from v3: Rebased for new Makefile system Fixed include guard in sdhci.h Typos in commit messages Changed from v2: corrected typo errors in ADMA1 support added patches 3-4 v1->v2 PATCH1: add support for ADMA1 (I havn't tested it though). fixed s->prnsts <-> s->pwrcon typo (thanks to Peter, strange that it even worked before). PATCH2: change header prefix from "target-arm" to "exynos4210" Igor Mitsyanko (1): hw: introduce standard SD host controller Peter Crosthwaite (2): vl.c: allow for repeated -sd arguments xilinx_zynq: Added SD controllers default-configs/arm-softmmu.mak | 2 + hw/Makefile.objs | 1 + hw/sdhci.c | 1301 +++++++++++++++++++++++++++++++++++++++ hw/sdhci.h | 312 ++++++++++ hw/xilinx_zynq.c | 10 + vl.c | 2 +- 6 files changed, 1627 insertions(+), 1 deletions(-) create mode 100644 hw/sdhci.c create mode 100644 hw/sdhci.h
-- Mitsyanko Igor ASWG, Moscow R&D center, Samsung Electronics email: i.mitsya...@samsung.com