aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 340b313cd4..61f6e7b211 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -920,8 +920,7 @@ static void pc_init1(ram_addr_t ram_size, int vga_ram_size,
option_rom_offset = qemu_ram_alloc(0x20000);
oprom_area_size = 0;
- cpu_register_physical_memory(0xc0000, 0x20000,
- option_rom_offset | IO_MEM_ROM);
+ cpu_register_physical_memory(0xc0000, 0x20000, option_rom_offset);
if (using_vga) {
/* VGA BIOS load */