summaryrefslogtreecommitdiffstats
path: root/util/x86emu/pcbios/pcibios.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu/pcbios/pcibios.c')
-rw-r--r--util/x86emu/pcbios/pcibios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/x86emu/pcbios/pcibios.c b/util/x86emu/pcbios/pcibios.c
index 506aad078665..4bbe565e8b63 100644
--- a/util/x86emu/pcbios/pcibios.c
+++ b/util/x86emu/pcbios/pcibios.c
@@ -35,7 +35,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifdef CONFIG_COREBOOT_V2
+#ifdef COREBOOT_V2
#include <console/console.h>
#else
#include <console.h>
@@ -65,7 +65,7 @@ int pcibios_handler(void)
break;
case FIND_PCI_DEVICE:
/* FixME: support SI != 0 */
-#ifdef CONFIG_COREBOOT_V2
+#ifdef COREBOOT_V2
dev = dev_find_device(X86_DX, X86_CX, dev);
#else
dev = dev_find_pci_device(X86_DX, X86_CX, dev);