qemu-e2k/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 Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
core.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
Kconfig
Makefile.objs hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
milkymist-memcard.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
omap_mmc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pl181.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
pxa2xx_mmci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sd.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sdhci-internal.h
sdhci-pci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sdhci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sdmmc-internal.c
sdmmc-internal.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
ssi-sd.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
trace-events trace: Remove trailing newline in events 2019-09-18 10:19:47 +01:00