summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-20 16:24:23 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-20 16:24:23 +0000
commitc6aadbe3ebca9865d47443d11933ef11bfe31085 (patch)
tree0338ae6c217d70dc3af76c1ede8238fe457f0294
parent8f74c5878dde6b610b416a5950de3219532c0f83 (diff)
Fix #if CONFIG_VGA==1 -> #if CONFIG_VGA.
(forgotten in last check in.) Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4817 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-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 */