diff options
author | Clement Deschamps | 2017-02-28 15:55:09 +0100 |
---|---|---|
committer | Peter Maydell | 2017-02-28 18:10:00 +0100 |
commit | 97fb87cc5db87d449f16336226f71232a2054ff4 (patch) | |
tree | 3ed43e208ef0916826a68596068adb9fc850b285 /include/hw/arm | |
parent | qdev: Have qdev_set_parent_bus() handle devices already on a bus (diff) | |
download | qemu-97fb87cc5db87d449f16336226f71232a2054ff4.tar.gz qemu-97fb87cc5db87d449f16336226f71232a2054ff4.tar.xz qemu-97fb87cc5db87d449f16336226f71232a2054ff4.zip |
hw/sd: add card-reparenting function
Provide a new function sdbus_reparent_card() in sd core for reparenting
a card from a SDBus to another one.
This function is required by the raspi platform, where the two SD
controllers can be dynamically switched.
Signed-off-by: Clement Deschamps <clement.deschamps@antfield.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1488293711-14195-3-git-send-email-peter.maydell@linaro.org
Message-id: 20170224164021.9066-3-clement.deschamps@antfield.fr
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: added a doc comment to the header file; changed to
use new behaviour of qdev_set_parent_bus()]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
0 files changed, 0 insertions, 0 deletions