diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-07 12:55:02 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-05-07 12:55:02 +0100 |
commit | 2d731dbd5e7173961cd76dc12c939e672cbca2bd (patch) | |
tree | 99009af4da151c5298d1769d744cea107da4e223 /include/hw/block | |
parent | c8d8ef00a121ee7326c87a76cc9f49716ed68917 (diff) | |
download | qemu-2d731dbd5e7173961cd76dc12c939e672cbca2bd.zip qemu-2d731dbd5e7173961cd76dc12c939e672cbca2bd.tar.gz qemu-2d731dbd5e7173961cd76dc12c939e672cbca2bd.tar.bz2 |
pflash_cfi01: New pflash_cfi01_legacy_drive()
Factored out of pc_system_firmware_init() so the next commit can reuse
it in hw/arm/virt.c.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190416091348.26075-3-armbru@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/block')
-rw-r--r-- | include/hw/block/flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/block/flash.h b/include/hw/block/flash.h index a0f4887..1acaf7d 100644 --- a/include/hw/block/flash.h +++ b/include/hw/block/flash.h @@ -24,6 +24,7 @@ PFlashCFI01 *pflash_cfi01_register(hwaddr base, int be); BlockBackend *pflash_cfi01_get_blk(PFlashCFI01 *fl); MemoryRegion *pflash_cfi01_get_memory(PFlashCFI01 *fl); +void pflash_cfi01_legacy_drive(PFlashCFI01 *dev, DriveInfo *dinfo); /* pflash_cfi02.c */ |