aboutsummaryrefslogtreecommitdiff
path: root/util/x86emu/yabel/device.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-02-19 19:08:11 +0000
committerMyles Watson <mylesgw@gmail.com>2010-02-19 19:08:11 +0000
commit8e9234ffff5730df6a498fae6cfaf5c0ee101c5b (patch)
tree2e03670556aa79ee62c56ba7c0bb6ccc47c96326 /util/x86emu/yabel/device.c
parent99f75793c1efbce8e0cde24d811ed1789a257604 (diff)
1. Change CONFIG_DEBUG to DEBUG in util/x86emu/*
2. Make DEBUG depend on CONFIG_YABEL_DEBUG_FLAGS being nonzero Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5131 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/x86emu/yabel/device.c')
-rw-r--r--util/x86emu/yabel/device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/x86emu/yabel/device.c b/util/x86emu/yabel/device.c
index 60bad5c122..929e97779b 100644
--- a/util/x86emu/yabel/device.c
+++ b/util/x86emu/yabel/device.c
@@ -112,7 +112,7 @@ biosemu_dev_get_addr_info(void)
}
// store last entry index of translate_address_array
taa_last_entry = taa_index - 1;
-#ifdef CONFIG_DEBUG
+#ifdef DEBUG
//dump translate_address_array
printf("translate_address_array: \n");
translate_address_t ta;
@@ -195,7 +195,7 @@ biosemu_dev_get_addr_info(void)
}
// store last entry index of translate_address_array
taa_last_entry = taa_index - 1;
-#ifdef CONFIG_DEBUG
+#ifdef DEBUG
//dump translate_address_array
printf("translate_address_array: \n");
translate_address_t ta;
@@ -334,7 +334,7 @@ biosemu_dev_check_exprom(unsigned long rom_base_addr)
memcpy(&pci_ds, (void *) (rom_base_addr + pci_ds_offset),
sizeof(pci_ds));
clr_ci();
-#ifdef CONFIG_DEBUG
+#ifdef DEBUG
DEBUG_PRINTF("PCI Data Structure @%lx:\n",
rom_base_addr + pci_ds_offset);
dump((void *) &pci_ds, sizeof(pci_ds));