diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-01-23 04:58:35 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-08-21 16:22:43 +0200 |
commit | 2762eed1f5534074fcce703bdda8702905dc4c61 (patch) | |
tree | f2dca51900783c8fd44be43aacbb5f571bba70fd /hw/arm/versatilepb.c | |
parent | 26c5b0f4cbe19ad87d3aaba22cd1a8edc25f7ceb (diff) |
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/arm/versatilepb.c')
0 files changed, 0 insertions, 0 deletions