[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/15] moxie: remove bios_name
From: |
Paolo Bonzini |
Subject: |
[PATCH 09/15] moxie: remove bios_name |
Date: |
Mon, 26 Oct 2020 10:30:22 -0400 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/moxie/moxiesim.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c
index a765e9f6be..d07d504c0d 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);
}
}
--
2.26.2
- Re: [PATCH 02/15] digic: stash firmware into DigicState, (continued)
- [PATCH 04/15] hppa: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 12/15] s390: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 09/15] moxie: remove bios_name,
Paolo Bonzini <=
- [PATCH 03/15] arm: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 07/15] m68k: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 06/15] lm32: remove bios_name, Paolo Bonzini, 2020/10/26