From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT3zo-0004kM-2J for qemu-devel@nongnu.org; Tue, 30 Oct 2012 01:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT3zn-0007v2-1b for qemu-devel@nongnu.org; Tue, 30 Oct 2012 01:04:11 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:41044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT3zm-0007uw-Rn for qemu-devel@nongnu.org; Tue, 30 Oct 2012 01:04:10 -0400 Received: by mail-pa0-f45.google.com with SMTP id fb10so3719445pad.4 for ; Mon, 29 Oct 2012 22:04:09 -0700 (PDT) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Tue, 30 Oct 2012 15:03:37 +1000 Message-Id: Subject: [Qemu-devel] [PATCH v7 0/3] Standard SD host controller model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org, i.mitsyanko@samsung.com Cc: vineshp@xilinx.com, edgar.iglesias@gmail.com, Peter Crosthwaite , john.williams@xilinx.com, afaerber@suse.de [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 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".*** SUBJECT HERE *** 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 | 1299 +++++++++++++++++++++++++++++++++++++++ hw/sdhci.h | 311 ++++++++++ hw/xilinx_zynq.c | 10 + vl.c | 2 +- 6 files changed, 1624 insertions(+), 1 deletions(-) create mode 100644 hw/sdhci.c create mode 100644 hw/sdhci.h