mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
pflash: Clean up after commit 368a354f02
, part 1
QOMification left parameter @qdev unused in pflash_cfi01_register() and pflash_cfi02_register(). All callers pass NULL. Remove. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190308094610.21210-15-armbru@redhat.com>
This commit is contained in:
parent
7ebfece56a
commit
940d5b132f
23 changed files with 31 additions and 33 deletions
|
@ -113,7 +113,7 @@ static void lm32_evr_init(MachineState *machine)
|
|||
|
||||
dinfo = drive_get(IF_PFLASH, 0, 0);
|
||||
/* Spansion S29NS128P */
|
||||
pflash_cfi02_register(flash_base, NULL, "lm32_evr.flash", flash_size,
|
||||
pflash_cfi02_register(flash_base, "lm32_evr.flash", flash_size,
|
||||
dinfo ? blk_by_legacy_dinfo(dinfo) : NULL,
|
||||
flash_sector_size, flash_size / flash_sector_size,
|
||||
1, 2, 0x01, 0x7e, 0x43, 0x00, 0x555, 0x2aa, 1);
|
||||
|
@ -206,7 +206,7 @@ static void lm32_uclinux_init(MachineState *machine)
|
|||
|
||||
dinfo = drive_get(IF_PFLASH, 0, 0);
|
||||
/* Spansion S29NS128P */
|
||||
pflash_cfi02_register(flash_base, NULL, "lm32_uclinux.flash", flash_size,
|
||||
pflash_cfi02_register(flash_base, "lm32_uclinux.flash", flash_size,
|
||||
dinfo ? blk_by_legacy_dinfo(dinfo) : NULL,
|
||||
flash_sector_size, flash_size / flash_sector_size,
|
||||
1, 2, 0x01, 0x7e, 0x43, 0x00, 0x555, 0x2aa, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue