hw/rx: Allow execution without either bios or kernel
Users can use -device loader to get an ELF file loaded to memory, so we don't need to require one of these options. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250215021654.1786679-2-keithp@keithp.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
62fb8ec35b
commit
5bf24ec9c4
@ -110,9 +110,6 @@ static void rx_gdbsim_init(MachineState *machine)
|
|||||||
if (!kernel_filename) {
|
if (!kernel_filename) {
|
||||||
if (machine->firmware) {
|
if (machine->firmware) {
|
||||||
rom_add_file_fixed(machine->firmware, RX62N_CFLASH_BASE, 0);
|
rom_add_file_fixed(machine->firmware, RX62N_CFLASH_BASE, 0);
|
||||||
} else if (!qtest_enabled()) {
|
|
||||||
error_report("No bios or kernel specified");
|
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user