summaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx800/vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/vx800/vga.c')
-rw-r--r--src/northbridge/via/vx800/vga.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/northbridge/via/vx800/vga.c b/src/northbridge/via/vx800/vga.c
index 70a916f195..4109f62546 100644
--- a/src/northbridge/via/vx800/vga.c
+++ b/src/northbridge/via/vx800/vga.c
@@ -29,9 +29,7 @@
#include <cpu/x86/msr.h>
#include <arch/interrupt.h>
#include <x86emu/regs.h>
-#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
#include <device/oprom/realmode/x86.h>
-#endif
/* PCI Domain 1 Device 0 Function 0 */
@@ -139,7 +137,7 @@ static void write_protect_vgabios(void)
static void vga_enable_console(void)
{
-#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
+#if IS_ENABLED(CONFIG_PCI_OPTION_ROM_RUN_REALMODE)
/* Call VGA BIOS int10 function 0x4f14 to enable main console
* Epia-M does not always autosense the main console so forcing
* it on is good.