aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-07-05 23:22:10 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-08-21 16:22:43 +0200
commitd7ebca748e33176ede1a8675cea82271d2c0dac4 (patch)
tree726f0b14d96d139866a23a49ec0864cdc68173e0 /include
parentd6f83a72a7db94a3ede9f5cc4fb39f9c8e89f954 (diff)
downloadqemu-d7ebca748e33176ede1a8675cea82271d2c0dac4.zip
qemu-d7ebca748e33176ede1a8675cea82271d2c0dac4.tar.gz
qemu-d7ebca748e33176ede1a8675cea82271d2c0dac4.tar.bz2
hw/sd/pxa2xx_mmci: Do not create SD card within the SD host controller
SD/MMC host controllers provide a SD Bus to plug SD cards, but don't come with SD card plugged in :) The machine/board object is where the SD cards are created. Since the PXA2xx is not qdevified, for now create the cards in pxa270_init() which is the SoC model. In the future we will move this to the board model. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20200705213350.24725-2-f4bug@amsat.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/pxa.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/arm/pxa.h b/include/hw/arm/pxa.h
index 8843e5f..d99b619 100644
--- a/include/hw/arm/pxa.h
+++ b/include/hw/arm/pxa.h
@@ -89,8 +89,7 @@ void pxa2xx_lcd_vsync_notifier(PXA2xxLCDState *s, qemu_irq handler);
typedef struct PXA2xxMMCIState PXA2xxMMCIState;
PXA2xxMMCIState *pxa2xx_mmci_init(MemoryRegion *sysmem,
hwaddr base,
- BlockBackend *blk, qemu_irq irq,
- qemu_irq rx_dma, qemu_irq tx_dma);
+ qemu_irq irq, qemu_irq rx_dma, qemu_irq tx_dma);
void pxa2xx_mmci_handlers(PXA2xxMMCIState *s, qemu_irq readonly,
qemu_irq coverswitch);