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>
This commit is contained in:
parent
59588bea5e
commit
b029702bac
@ -133,9 +133,9 @@ static void moxiesim_init(MachineState *machine)
|
|||||||
loader_params.initrd_filename = initrd_filename;
|
loader_params.initrd_filename = initrd_filename;
|
||||||
load_kernel(cpu, &loader_params);
|
load_kernel(cpu, &loader_params);
|
||||||
}
|
}
|
||||||
if (bios_name) {
|
if (machine->firmware) {
|
||||||
if (load_image_targphys(bios_name, FIRMWARE_BASE, FIRMWARE_SIZE) < 0) {
|
if (load_image_targphys(machine->firmware, FIRMWARE_BASE, FIRMWARE_SIZE) < 0) {
|
||||||
error_report("Failed to load firmware '%s'", bios_name);
|
error_report("Failed to load firmware '%s'", machine->firmware);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user