OSDN Git Service

hw/sd/milkymist-memcard: split realize() out of SysBusDevice init()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 22 Feb 2018 15:12:51 +0000 (15:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Feb 2018 15:12:51 +0000 (15:12 +0000)
commit85fd6e5db15173fcbf214e5667860e5d634156d3
tree88fc0397022e24531b5fc21da9c64463a1d3b470
parentd9f98aab67bd5e0de4d8a53139806337d6caf5b5
hw/sd/milkymist-memcard: split realize() out of SysBusDevice init()

Create the SDCard in the realize() function.

Suggested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Acked-by: Michael Walle <michael@walle.cc>
Message-id: 20180216022933.10945-3-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/milkymist-memcard.c