diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-26 10:30:22 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:05 -0500 |
commit | b029702bac28533bf8085f7c63c8b870d01acd47 (patch) | |
tree | 6e87cfe7cdcf456268f6f95428351bb60f8c95cd /hw | |
parent | 59588bea5efa3f497a39a05ec94aed289afd3d2a (diff) | |
download | qemu-b029702bac28533bf8085f7c63c8b870d01acd47.zip qemu-b029702bac28533bf8085f7c63c8b870d01acd47.tar.gz qemu-b029702bac28533bf8085f7c63c8b870d01acd47.tar.bz2 |
moxie: remove bios_name
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201026143028.3034018-10-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/moxie/moxiesim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c index a765e9f..d07d504 100644 --- a/hw/moxie/moxiesim.c +++ b/hw/moxie/moxiesim.c @@ -133,9 +133,9 @@ static void moxiesim_init(MachineState *machine) loader_params.initrd_filename = initrd_filename; load_kernel(cpu, &loader_params); } - if (bios_name) { - if (load_image_targphys(bios_name, FIRMWARE_BASE, FIRMWARE_SIZE) < 0) { - error_report("Failed to load firmware '%s'", bios_name); + if (machine->firmware) { + if (load_image_targphys(machine->firmware, FIRMWARE_BASE, FIRMWARE_SIZE) < 0) { + error_report("Failed to load firmware '%s'", machine->firmware); } } |