This series QOMifies the omap-mmc device. The main reason for
this is that this device is now the only remaining in-tree
user of the legacy SD APIs defined in sdcard_legacy.h.
The first 8 patches QOMify the device and do some minor
cleanup on it. Patches 9 to 11 then remove the unused
legacy APIs, deleting sdcard_legacy.h entirely. This includes
letting us get rid of the me_no_qdev_me_kill_mammoth_with_rocks
codepaths in sd.c.
thanks
-- PMM
Peter Maydell (11):
hw/sd/omap_mmc: Do a minimal conversion to QDev
hw/sd/omap_mmc: Convert remaining 'struct omap_mmc_s' uses to
OMAPMMCState
hw/sd/omap_mmc: Convert output qemu_irqs to gpio and sysbus IRQ APIs
hw/sd/omap_mmc: Convert to SDBus API
hw/sd/omap_mmc: Use similar API for "wire up omap_clk" to other OMAP
devices
hw/arm/omap1: Inline creation of MMC
hw/sd/omap_mmc: Remove unused coverswitch qemu_irq
hw/sd/omap_mmc: Untabify
hw/sd: Remove unused 'enable' method from SDCardClass
hw/sd: Remove unused legacy functions, stop killing mammoths
hw/sd: Remove unused SDState::enable
include/hw/arm/omap.h | 17 ++-
include/hw/sd/sd.h | 1 -
include/hw/sd/sdcard_legacy.h | 50 -------
hw/arm/omap1.c | 26 +++-
hw/sd/omap_mmc.c | 256 +++++++++++++++++++---------------
hw/sd/sd.c | 94 +++----------
6 files changed, 190 insertions(+), 254 deletions(-)
delete mode 100644 include/hw/sd/sdcard_legacy.h
--
2.34.1