projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59588be
)
moxie: remove bios_name
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 26 Oct 2020 14:30:22 +0000
(10:30 -0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:05 +0000
(12:15 -0500)
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>
hw/moxie/moxiesim.c
patch
|
blob
|
history
diff --git
a/hw/moxie/moxiesim.c
b/hw/moxie/moxiesim.c
index a765e9f6be6b0b8adfa6d23f097c6b7f8e7fc678..d07d504c0d70b4d39a1ab3bb8008e6e6f572db4c 100644
(file)
--- 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_nam
e) {
- if (load_image_targphys(
bios_nam
e, FIRMWARE_BASE, FIRMWARE_SIZE) < 0) {
- error_report("Failed to load firmware '%s'",
bios_nam
e);
+ if (
machine->firmwar
e) {
+ if (load_image_targphys(
machine->firmwar
e, FIRMWARE_BASE, FIRMWARE_SIZE) < 0) {
+ error_report("Failed to load firmware '%s'",
machine->firmwar
e);
}
}