aboutsummaryrefslogtreecommitdiff
path: root/src/devices/oprom/yabel/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom/yabel/io.c')
-rw-r--r--src/devices/oprom/yabel/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/oprom/yabel/io.c b/src/devices/oprom/yabel/io.c
index 00bb1a0d2f..5c19b5142c 100644
--- a/src/devices/oprom/yabel/io.c
+++ b/src/devices/oprom/yabel/io.c
@@ -524,7 +524,9 @@ pci_cfg_write(X86EMU_pioAddr addr, u32 val, u8 size)
printf
("Config write access invalid! PCI device %x:%x.%x, offs: %x\n",
bus, devfn >> 3, devfn & 7, offs);
+#if !CONFIG_YABEL_PCI_FAKE_WRITING_OTHER_DEVICES_CONFIG
HALT_SYS();
+#endif
} else {
#if CONFIG_PCI_OPTION_ROM_RUN_YABEL
switch (size) {