OSDN Git Service

m25p80: qdev-ify drive property
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 4 Jul 2016 12:06:37 +0000 (13:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Jul 2016 12:15:22 +0000 (13:15 +0100)
commit73bce5187ba93b34944aab08d1da5712c1183a68
tree0c0d50aa67ea30020e420ad301ca3a69846d0470
parentb7f480c3f69edc74dd8e2ecfc51c9e35590965de
m25p80: qdev-ify drive property

This allows specifying the property via -drive if=none and creating
the flash device with -device.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1467138270-32481-6-git-send-email-clg@kaod.org
[clg: added an extra fix for sabrelite_init()
      keeping the test on flash_dev did not seem necessary. ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/sabrelite.c
hw/arm/xilinx_zynq.c
hw/arm/xlnx-ep108.c
hw/block/m25p80.c
hw/microblaze/petalogix_ml605_mmu.c