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.
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 (2): hw: introduce standard SD host controller exynos4210: introduce Exynos4210 SD host controller model Makefile.objs | 1 + Makefile.target | 1 + default-configs/arm-softmmu.mak | 1 + hw/exynos4210.c | 20 + hw/exynos4210_sdhci.c | 438 +++++++++++++ hw/sdhci.c | 1305 +++++++++++++++++++++++++++++++++++++++ hw/sdhci.h | 310 ++++++++++ 7 files changed, 2076 insertions(+), 0 deletions(-) create mode 100644 hw/exynos4210_sdhci.c create mode 100644 hw/sdhci.c create mode 100644 hw/sdhci.h -- 1.7.4.1