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
This commit is contained in:
Myles Watson 2009-10-20 16:24:23 +00:00
parent 8f74c5878d
commit c6aadbe3eb
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
#define VGA_COLUMNS 80 #define VGA_COLUMNS 80
#define VGA_LINES 25 #define VGA_LINES 25
#if (CONFIG_VGA == 1) #if CONFIG_VGA
void vga_io_init(void); 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); void vga_line_write(unsigned int line, const char *string);
#endif /* (CONFIG_VGA == 1) */ #endif /* CONFIG_VGA */
#endif /* VGA_H */ #endif /* VGA_H */

View File

@ -23,7 +23,7 @@
#include <string.h> /* for memset */ #include <string.h> /* for memset */
#include "k8t890.h" #include "k8t890.h"
#if CONFIG_VGA == 1 #if CONFIG_VGA
#include <pc80/vga_io.h> #include <pc80/vga_io.h>
#include <pc80/vga.h> #include <pc80/vga.h>
#include <arch/io.h> #include <arch/io.h>
@ -140,7 +140,7 @@ chrome_init(struct device *dev)
//k8m890_host_fb_direct_set(fb_address); //k8m890_host_fb_direct_set(fb_address);
#if CONFIG_VGA == 1 #if CONFIG_VGA
/* Now set up the VGA console */ /* Now set up the VGA console */
vga_io_init(); /* Enable full IO access */ vga_io_init(); /* Enable full IO access */