summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2020-01-30 16:02:02 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-01-30 16:02:02 +0000
commita29e3e127077709c6b733475a3a031bc49adf293 (patch)
treeffe7aee0d114ca43cf669bd22e6062d2311e6bfe /hw/core/qdev.c
parent0e2c24c6267c1874daee71ecd98d1f2108ea7c66 (diff)
downloadfocaccia-qemu-a29e3e127077709c6b733475a3a031bc49adf293.tar.gz
focaccia-qemu-a29e3e127077709c6b733475a3a031bc49adf293.zip
hw/arm: ast2600: Wire up the eMMC controller
Initialise another SDHCI model instance for the AST2600's eMMC
controller and use the SDHCI's num_slots value introduced previously to
determine whether we should create an SD card instance for the new slot.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20200114103433.30534-3-clg@kaod.org
[ clg : - removed ternary operator from sdhci_attach_drive()
        - renamed SDHCI objects with a '-controller' prefix ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions