mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
c8d8ef00a1
commit
2d731dbd5e
3 changed files with 31 additions and 14 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue