From c6aadbe3ebca9865d47443d11933ef11bfe31085 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Tue, 20 Oct 2009 16:24:23 +0000 Subject: [PATCH] Fix #if CONFIG_VGA==1 -> #if CONFIG_VGA. (forgotten in last check in.) Signed-off-by: Myles Watson Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4817 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/pc80/vga.h | 4 ++-- src/southbridge/via/k8t890/k8m890_chrome.c | 4 ++-- 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 /* for memset */ #include "k8t890.h" -#if CONFIG_VGA == 1 +#if CONFIG_VGA #include #include #include @@ -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 */