]> Git Repo - qemu.git/commit - hw/sd/core.c
hw/sd: add card-reparenting function
authorClement Deschamps <[email protected]>
Tue, 28 Feb 2017 14:55:09 +0000 (14:55 +0000)
committerPeter Maydell <[email protected]>
Tue, 28 Feb 2017 17:10:00 +0000 (17:10 +0000)
commit97fb87cc5db87d449f16336226f71232a2054ff4
tree3ed43e208ef0916826a68596068adb9fc850b285
parent91c968ac72f59345a2ebc3abd483c26200afdf3a
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 <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Message-id: 1488293711[email protected]
Message-id: 20170224164021[email protected]
Reviewed-by: Peter Maydell <[email protected]>
[PMM: added a doc comment to the header file; changed to
 use new behaviour of qdev_set_parent_bus()]
Signed-off-by: Peter Maydell <[email protected]>
hw/sd/core.c
include/hw/sd/sd.h
This page took 0.023944 seconds and 4 git commands to generate.