Message ID | cc99e87ab2ff326c009a5e3ca4367b50c0ec11fa.1437212383.git.crosthwaite.peter@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c index d7eaa1f..dc6fa59 100644 --- a/hw/microblaze/boot.c +++ b/hw/microblaze/boot.c @@ -117,7 +117,11 @@ void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base, char *filename = NULL; machine_opts = qemu_get_machine_opts(); +#ifdef TARGET_MULTI + kernel_filename = qemu_opt_get(machine_opts, "firmware"); +#else kernel_filename = qemu_opt_get(machine_opts, "kernel"); +#endif kernel_cmdline = qemu_opt_get(machine_opts, "append"); dtb_arg = qemu_opt_get(machine_opts, "dtb"); /* default to pcbios dtb as passed by machine_init */