aboutsummaryrefslogtreecommitdiff
path: root/hw/hppa
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-10-26 10:30:17 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-10 12:15:05 -0500
commitb57e3e9785271a20b00f43d469b3011d0127e565 (patch)
treefc95ba75e5a0e2336cfabc68ac1cf7fd7f8aabc9 /hw/hppa
parent0ad3b5d3ee312e893d92be2de4b7123e03e6119d (diff)
hppa: remove bios_name
Cc: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201026143028.3034018-5-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/hppa')
-rw-r--r--hw/hppa/machine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index d5164457ee..5e745d5ea9 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -213,8 +213,7 @@ static void machine_hppa_init(MachineState *machine)
but one explicitly written for the emulation, we might as
well load it directly from an ELF image. */
firmware_filename = qemu_find_file(QEMU_FILE_TYPE_BIOS,
- bios_name ? bios_name :
- "hppa-firmware.img");
+ machine->firmware ?: "hppa-firmware.img");
if (firmware_filename == NULL) {
error_report("no firmware provided");
exit(1);