qemu/hw/arm
Peter Maydell 0c90811231 hw/sd/omap_mmc: Convert to SDBus API
Convert the OMAP MMC controller to the new SDBus API:
 * the controller creates an SDBus bus
 * instead of sd_foo functions on the SDState object, call
   sdbus_foo functions on the SDBus
 * the board code creates a proper TYPE_SD_CARD object and attaches
   it to the controller's SDBus, instead of the controller creating
   a card directly via sd_init() that never gets attached to any bus
 * because the SD card object is on a bus, it gets reset automatically
   by the "traverse the qbus tree resetting things" code, and we don't
   need to manually reset the card from the controller reset function

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250128104519.3981448-5-peter.maydell@linaro.org>
[PMD: Include "hw/sd/sd.h" instead of "hw/sd/sdcard_legacy.h",
      create bus in omap_mmc_initfn() instead of omap_mmc_realize()]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-01-31 19:36:44 +01:00
..
allwinner-a10.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
allwinner-h3.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
allwinner-r40.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
armsse.c hw/arm/armsse: Use device_class_set_props_n 2024-12-19 19:33:37 +01:00
armv7m.c hw/loader: Pass ELFDATA endian order argument to load_elf_as() 2025-01-31 19:36:44 +01:00
aspeed.c aspeed: Create sd devices only when defaults are enabled 2025-01-27 09:38:15 +01:00
aspeed_ast10x0.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
aspeed_ast27x0.c aspeed/soc: Support Timer for AST2700 2025-01-27 09:38:15 +01:00
aspeed_ast2400.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
aspeed_ast2600.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
aspeed_eeprom.c aspeed: Clean up includes 2024-01-30 21:20:20 +03:00
aspeed_eeprom.h aspeed: Clean up includes 2024-01-30 21:20:20 +03:00
aspeed_soc_common.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
b-l475e-iot01a.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
bananapi_m2u.c hw/arm: Check CPU type in machine_run_board_init() 2024-01-05 16:20:15 +01:00
bcm2835_peripherals.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
bcm2836.c hw/arm: Constify all Property 2024-12-15 12:54:27 -06:00
bcm2838.c hw/arm: Introduce Raspberry PI 4 machine 2024-02-27 13:01:42 +00:00
bcm2838_peripherals.c hw/arm/bcm2838_peripherals: Add clock_isp stub 2024-02-27 13:01:42 +00:00
boot.c hw/loader: Pass ELFDATA endian order argument to load_elf_as() 2025-01-31 19:36:44 +01:00
collie.c hw/arm: Build various units only once 2024-01-26 11:30:49 +00:00
cubieboard.c hw/arm: Check CPU type in machine_run_board_init() 2024-01-05 16:20:15 +01:00
digic.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
digic_boards.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
exynos4_boards.c target/arm: fix exception syndrome for AArch32 bkpt insn 2024-02-02 18:56:32 +00:00
exynos4210.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
fby35.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
fsl-imx6.c hw/pci-host/designware: Expose MSI IRQ 2025-01-27 13:50:14 +00:00
fsl-imx6ul.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
fsl-imx7.c hw/pci-host/designware: Expose MSI IRQ 2025-01-27 13:50:14 +00:00
fsl-imx25.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
fsl-imx31.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
highbank.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
imx25_pdk.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
integratorcp.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
Kconfig hw/pci-host/designware: Expose MSI IRQ 2025-01-27 13:50:14 +00:00
kzm.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
mcimx6ul-evk.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
mcimx7d-sabre.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
meson.build hw/arm: Remove omap2.c 2024-10-01 14:44:10 +01:00
microbit.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
mps2-tz.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
mps2.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
mps3r.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
msf2-soc.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
msf2-som.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
musca.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
musicpal.c hw: Replace DEVICE(object_new) -> qdev_new() 2025-01-13 17:06:35 +01:00
netduino2.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
netduinoplus2.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
npcm7xx.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
npcm7xx_boards.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
nrf51_soc.c hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m' 2025-01-27 12:58:26 +00:00
olimex-stm32-h405.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
omap1.c hw/sd/omap_mmc: Convert to SDBus API 2025-01-31 19:36:44 +01:00
omap_sx1.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
orangepi.c hw/arm: Check CPU type in machine_run_board_init() 2024-01-05 16:20:15 +01:00
raspi.c hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices 2024-02-27 13:01:42 +00:00
raspi4b.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
realview.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
sabrelite.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
sbsa-ref.c hw/pci-host/gpex: Allow more than 4 legacy IRQs 2024-12-30 20:04:50 +01:00
smmu-common.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
smmu-internal.h hw/arm/smmuv3: Add VMID to TLB tagging 2023-05-30 15:50:16 +01:00
smmuv3-internal.h hw/arm/smmuv3: Assert input to oas2bits() is valid 2024-07-29 13:34:18 +01:00
smmuv3.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
stellaris.c hw/arm/stellaris: Map both I2C controllers 2025-01-27 14:28:53 +00:00
stm32f100_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32f205_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32f405_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32l4x5_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32vldiscovery.c hw/arm/v7m: Remove use of &first_cpu in machine_init() 2025-01-27 12:58:26 +00:00
strongarm.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
strongarm.h hw/arm/collie: Create the RAM in the board 2019-10-22 17:44:01 +01:00
trace-events hw/arm: xenpvh: Break out a common PVH machine 2024-09-04 16:50:42 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
versatilepb.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
vexpress.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
virt-acpi-build.c acpi/ghes: simplify the per-arch caller to build HEST table 2025-01-15 13:06:49 -05:00
virt.c hw/pci-host/gpex: Allow more than 4 legacy IRQs 2024-12-30 20:04:50 +01:00
xen-pvh.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xen-stubs.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xilinx_zynq.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xlnx-versal-virt.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xlnx-versal.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
xlnx-zcu102.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xlnx-zynqmp.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00