pflash_cfi01: New pflash_cfi01_legacy_drive()
commit2d731dbd5e7173961cd76dc12c939e672cbca2bd
authorMarkus Armbruster <armbru@redhat.com>
Tue, 7 May 2019 11:55:02 +0000 (7 12:55 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 May 2019 11:55:02 +0000 (7 12:55 +0100)
tree99009af4da151c5298d1769d744cea107da4e223
parentc8d8ef00a121ee7326c87a76cc9f49716ed68917
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>
hw/block/pflash_cfi01.c
hw/i386/pc_sysfw.c
include/hw/block/flash.h