summary refs log tree commit diff stats
path: root/hw/sd/core.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-01-23 04:58:35 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-08-21 16:22:43 +0200
commit2762eed1f5534074fcce703bdda8702905dc4c61 (patch)
treef2dca51900783c8fd44be43aacbb5f571bba70fd /hw/sd/core.c
parent26c5b0f4cbe19ad87d3aaba22cd1a8edc25f7ceb (diff)
downloadfocaccia-qemu-2762eed1f5534074fcce703bdda8702905dc4c61.tar.gz
focaccia-qemu-2762eed1f5534074fcce703bdda8702905dc4c61.zip
hw/sd/pl181: Expose a SDBus and connect the SDCard to it
Convert the controller to the SDBus API:
- add the a TYPE_PL181_BUS object of type TYPE_SD_BUS,
- adapt the SDBusClass set_inserted/set_readonly handlers
- create the bus in the PL181 controller
- switch legacy sd_*() API to the sdbus_*() API.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200705204630.4133-7-f4bug@amsat.org>
Diffstat (limited to 'hw/sd/core.c')
0 files changed, 0 insertions, 0 deletions