qemu/include/hw
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
..
acpi ipmi: Fix SSIF ACPI handling to use the right CRS 2019-09-20 14:08:10 -05:00
adc
arm hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
audio
block
char escc: introduce a selector for the register bit 2019-09-07 08:32:12 +02:00
core cputlb: Remove cpu->mem_io_vaddr 2019-09-25 10:56:28 -07:00
cpu
cris
display
dma
firmware
gpio hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500 2019-09-13 16:05:00 +01:00
hyperv
i2c
i386 pc: Add an SMB0 ACPI device to q35 2019-09-20 14:09:24 -05:00
ide
input
intc
ipack
ipmi ipmi: Allow a size value to be passed for I/O space 2019-09-20 14:08:10 -05:00
isa
kvm
lm32
m68k m68k: Add NeXTcube machine 2019-09-07 08:31:51 +02:00
mem
mips
misc aspeed/scu: Introduce a aspeed_scu_get_apb_freq() routine 2019-09-13 16:05:01 +01:00
net
nvram
pci ipmi: Add PCI IPMI interfaces 2019-09-20 14:08:10 -05:00
pci-bridge
pci-host spapr: Fold spapr_phb_lsi_qirq() into its single caller 2019-10-04 19:08:22 +10:00
ppc spapr: Eliminate SpaprIrq::init hook 2019-10-04 19:08:23 +10:00
rdma
riscv riscv: sifive_u: Remove handcrafted clock nodes for UART and ethernet 2019-09-17 08:42:49 -07:00
s390x
scsi
sd hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
semihosting
sh4
sparc
ssi aspeed/smc: Inject errors in DMA checksum 2019-09-13 16:05:01 +01:00
timer hw/timer/mss-timerc: Switch to transaction-based ptimer API 2019-10-15 18:09:03 +01:00
tricore
unicore32
usb
vfio vfio: Turn the container error into an Error handle 2019-10-04 18:49:18 +02:00
virtio
watchdog
xen xen: perform XenDevice clean-up in XenBus watch handler 2019-09-24 12:18:47 +01:00
xtensa
boards.h qdev/machine: Introduce hotplug_allowed hook 2019-09-16 06:57:24 -04:00
bt.h
elf_ops.h elf-ops.h: fix int overflow in load_elf() 2019-09-16 12:32:21 +02:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader-fit.h
loader.h elf-ops.h: fix int overflow in load_elf() 2019-09-16 12:32:21 +02:00
nmi.h
or-irq.h
pcmcia.h
platform-bus.h
ptimer.h ptimer: Provide new transaction-based API 2019-10-15 18:09:02 +01:00
qdev-core.h qdev/machine: Introduce hotplug_allowed hook 2019-09-16 06:57:24 -04:00
qdev-dma.h
qdev-properties.h qdev: Add a no default uuid property 2019-09-20 14:09:02 -05:00
register.h
registerfields.h
stream.h
sysbus.h
usb.h