[coreboot] [v2] r4817 - in trunk/coreboot-v2/src: include/pc80 southbridge/via/k8t890

svn at coreboot.org svn at coreboot.org
Tue Oct 20 18:24:24 CEST 2009


Author: myles
Date: 2009-10-20 18:24:23 +0200 (Tue, 20 Oct 2009)
New Revision: 4817

Modified:
   trunk/coreboot-v2/src/include/pc80/vga.h
   trunk/coreboot-v2/src/southbridge/via/k8t890/k8m890_chrome.c
Log:
Fix #if CONFIG_VGA==1 -> #if CONFIG_VGA.
(forgotten in last check in.)

Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>


Modified: trunk/coreboot-v2/src/include/pc80/vga.h
===================================================================
--- trunk/coreboot-v2/src/include/pc80/vga.h	2009-10-20 16:10:04 UTC (rev 4816)
+++ trunk/coreboot-v2/src/include/pc80/vga.h	2009-10-20 16:24:23 UTC (rev 4817)
@@ -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_line_write(unsigned int line, const char *string);
 
-#endif /* (CONFIG_VGA == 1) */
+#endif /* CONFIG_VGA */
 
 #endif /* VGA_H */

Modified: trunk/coreboot-v2/src/southbridge/via/k8t890/k8m890_chrome.c
===================================================================
--- trunk/coreboot-v2/src/southbridge/via/k8t890/k8m890_chrome.c	2009-10-20 16:10:04 UTC (rev 4816)
+++ trunk/coreboot-v2/src/southbridge/via/k8t890/k8m890_chrome.c	2009-10-20 16:24:23 UTC (rev 4817)
@@ -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 @@
 
 	//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 */
 





More information about the coreboot mailing list