summaryrefslogtreecommitdiffstats
path: root/hw/arm/cubieboard.c
diff options
context:
space:
mode:
authorPaolo Bonzini2020-10-26 15:30:16 +0100
committerPaolo Bonzini2020-12-10 18:15:04 +0100
commit0ad3b5d3ee312e893d92be2de4b7123e03e6119d (patch)
tree6311432e6184f5d42b80f258d1967922e2778a70 /hw/arm/cubieboard.c
parentalpha: remove bios_name (diff)
downloadqemu-0ad3b5d3ee312e893d92be2de4b7123e03e6119d.tar.gz
qemu-0ad3b5d3ee312e893d92be2de4b7123e03e6119d.tar.xz
qemu-0ad3b5d3ee312e893d92be2de4b7123e03e6119d.zip
arm: remove bios_name
Get the firmware name from the MachineState object. Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20201026143028.3034018-4-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/arm/cubieboard.c')
-rw-r--r--hw/arm/cubieboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c
index 1c6c792eb6..9d0d728180 100644
--- a/hw/arm/cubieboard.c
+++ b/hw/arm/cubieboard.c
@@ -40,7 +40,7 @@ static void cubieboard_init(MachineState *machine)
DeviceState *carddev;
/* BIOS is not supported by this board */
- if (bios_name) {
+ if (machine->firmware) {
error_report("BIOS not supported for this machine");
exit(1);
}