summaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 7dc56e7c81..e32e57487e 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -866,6 +866,7 @@ static void pc_init1(ram_addr_t ram_size,
bios_size, bios_offset | IO_MEM_ROM);
fw_cfg = bochs_bios_init();
+ rom_set_fw(fw_cfg);
if (linux_boot) {
load_linux(fw_cfg, kernel_filename, initrd_filename, kernel_cmdline, below_4g_mem_size);
@@ -1026,8 +1027,6 @@ static void pc_init1(ram_addr_t ram_size,
}
}
}
-
- rom_load_fw(fw_cfg);
}
static void pc_init_pci(ram_addr_t ram_size,