summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/video/video.c
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-04-11 15:48:21 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-04-11 15:48:21 +0000
commit54315533cc8f162d5251458c6b9fa9f38c3f47f0 (patch)
tree2029e80f93d54b1abec8e33be91efba0f8fb88d7 /payloads/libpayload/drivers/video/video.c
parente3aeb93a52d03e1b3dfcf30c66956b18f7f600d7 (diff)
downloadcoreboot-54315533cc8f162d5251458c6b9fa9f38c3f47f0.tar.xz
libpayload: Add a Geode video driver
Add a Geode video driver in lieu of VGA on Geode LX devices Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3233 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/drivers/video/video.c')
-rw-r--r--payloads/libpayload/drivers/video/video.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c
index 89c146d6ce..774493d175 100644
--- a/payloads/libpayload/drivers/video/video.c
+++ b/payloads/libpayload/drivers/video/video.c
@@ -30,12 +30,19 @@
#include <libpayload.h>
#include <video_console.h>
+#ifdef CONFIG_GEODE_VIDEO_CONSOLE
+extern struct video_console geode_video_console;
+#endif
+
#ifdef CONFIG_VGA_VIDEO_CONSOLE
extern struct video_console vga_video_console;
#endif
static struct video_console *console_list[] =
{
+#ifdef CONFIG_GEODE_VIDEO_CONSOLE
+ &geode_video_console,
+#endif
#ifdef CONFIG_VGA_VIDEO_CONSOLE
&vga_video_console,
#endif