summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/pc80/vga.h4
-rw-r--r--src/southbridge/via/k8t890/k8m890_chrome.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/pc80/vga.h b/src/include/pc80/vga.h
index e71a214d0b..d4dea873b3 100644
--- a/src/include/pc80/vga.h
+++ b/src/include/pc80/vga.h
@@ -24,7 +24,7 @@
#define VGA_COLUMNS 80
#define VGA_LINES 25
-#if (CONFIG_VGA == 1)
+#if CONFIG_VGA
void vga_io_init(void);
@@ -38,6 +38,6 @@ void vga_frame_set(unsigned int line, unsigned int character);
void vga_line_write(unsigned int line, const char *string);
-#endif /* (CONFIG_VGA == 1) */
+#endif /* CONFIG_VGA */
#endif /* VGA_H */
diff --git a/src/southbridge/via/k8t890/k8m890_chrome.c b/src/southbridge/via/k8t890/k8m890_chrome.c
index 544b08e9d9..824c8b10d3 100644
--- a/src/southbridge/via/k8t890/k8m890_chrome.c
+++ b/src/southbridge/via/k8t890/k8m890_chrome.c
@@ -23,7 +23,7 @@
#include <string.h> /* for memset */
#include "k8t890.h"
-#if CONFIG_VGA == 1
+#if CONFIG_VGA
#include <pc80/vga_io.h>
#include <pc80/vga.h>
#include <arch/io.h>
@@ -140,7 +140,7 @@ chrome_init(struct device *dev)
//k8m890_host_fb_direct_set(fb_address);
-#if CONFIG_VGA == 1
+#if CONFIG_VGA
/* Now set up the VGA console */
vga_io_init(); /* Enable full IO access */