summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-05-17 20:43:02 +0200
committerNico Huber <nico.h@gmx.de>2017-05-22 12:24:43 +0200
commit4bbfe57959e4dcd66528b9c906e3c1b877d1bcbc (patch)
treefe58896126275d5a0fcd37c154f53e5ee9b57cec
parentafa9aefce00551d5d6227ad0081389b972dd767f (diff)
downloadcoreboot-4bbfe57959e4dcd66528b9c906e3c1b877d1bcbc.tar.xz
Kconfig: Move and clean up CONFIG_VGA
Change-Id: I6e710b95cade0ea68f787f33c0070613d64b6da6 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/19743 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/Kconfig6
-rw-r--r--src/drivers/pc80/vga/Kconfig4
-rw-r--r--src/include/pc80/vga.h4
3 files changed, 4 insertions, 10 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 2ab9861baf..8b2369a0ba 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -550,12 +550,6 @@ config USE_WATCHDOG_ON_BOOT
bool
default n
-config VGA
- bool
- default n
- help
- Build board-specific VGA code.
-
config GFXUMA
bool
default n
diff --git a/src/drivers/pc80/vga/Kconfig b/src/drivers/pc80/vga/Kconfig
new file mode 100644
index 0000000000..7da71afcfb
--- /dev/null
+++ b/src/drivers/pc80/vga/Kconfig
@@ -0,0 +1,4 @@
+config VGA
+ bool
+ help
+ Include legacy VGA support code.
diff --git a/src/include/pc80/vga.h b/src/include/pc80/vga.h
index b1b9c30aac..c8d1c9bccd 100644
--- a/src/include/pc80/vga.h
+++ b/src/include/pc80/vga.h
@@ -22,8 +22,6 @@
#define VGA_COLUMNS 80
#define VGA_LINES 25
-#if CONFIG_VGA
-
void vga_io_init(void);
void vga_textmode_init(void);
@@ -36,6 +34,4 @@ void vga_frame_set(unsigned int line, unsigned int character);
void vga_line_write(unsigned int line, const char *string);
-#endif /* CONFIG_VGA */
-
#endif /* VGA_H */