aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700/vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/cx700/vga.c')
-rw-r--r--src/northbridge/via/cx700/vga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/via/cx700/vga.c b/src/northbridge/via/cx700/vga.c
index 7cb84d2d7e..093477acff 100644
--- a/src/northbridge/via/cx700/vga.c
+++ b/src/northbridge/via/cx700/vga.c
@@ -27,7 +27,7 @@
#include <arch/interrupt.h>
#include "registers.h"
#include <x86emu/regs.h>
-#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
+#if IS_ENABLED(CONFIG_PCI_OPTION_ROM_RUN_REALMODE)
#include <device/oprom/realmode/x86.h>
#endif
@@ -143,7 +143,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.