aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700/vga.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-24 15:00:56 -0600
committerMartin Roth <martinroth@google.com>2017-07-07 21:32:27 +0000
commit3c35ad90534d4aebd6d9723e4614efb6af01f45c (patch)
treef1f329d247e541fe36bc30541959b73be04ed891 /src/northbridge/via/cx700/vga.c
parent894977b2cda924d7db9e2819c8941e2d4cf6a9a4 (diff)
src/northbridge: add IS_ENABLED() around Kconfig symbol references
Change-Id: I1095944e65bfacd9e878840cc88f8a0a24ecde72 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20347 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
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.