qemu/hw/sd
Eddie James 2bea128c3d hw/sd/aspeed_sdhci: New device
The Aspeed SOCs have two SD/MMC controllers. Add a device that
encapsulates both of these controllers and models the Aspeed-specific
registers and behavior.

Tested by reading from mmcblk0 in Linux:
qemu-system-arm -machine romulus-bmc -nographic \
 -drive file=flash-romulus,format=raw,if=mtd \
 -device sd-card,drive=sd0 -drive file=_tmp/kernel,format=raw,if=sd,id=sd0

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20190925143248.10000-3-clg@kaod.org
[clg: - changed the controller MMIO window size to 0x1000
      - moved the MMIO mapping of the SDHCI slots at the SoC level
      - merged code to add SD drives on the SD buses at the machine level ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-10-15 18:09:04 +01:00
..
aspeed_sdhci.c hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
bcm2835_sdhost.c
core.c
Kconfig
Makefile.objs hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
milkymist-memcard.c
omap_mmc.c
pl181.c
pxa2xx_mmci.c
sd.c
sdhci-internal.h
sdhci-pci.c
sdhci.c
sdmmc-internal.c
sdmmc-internal.h
ssi-sd.c
trace-events trace: Remove trailing newline in events 2019-09-18 10:19:47 +01:00