summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-01-15 15:48:55 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-13 23:06:14 +0100
commit1617e1f0ab0d8e280e60caee693606ad88c37a86 (patch)
tree43563acd6d1b16dcef07f601e3b6bd422ab8e248 /payloads/libpayload/drivers
parentb7b57d97512f1a5fc9a102ae0374ff08242b6e0c (diff)
downloadcoreboot-1617e1f0ab0d8e280e60caee693606ad88c37a86.tar.xz
libpayload: If no video drivers initialize in video_init, return 1.
Change-Id: I56f810dfa6654ac1e9d1696ad15e7f1b8bfe59bd Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/2652 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r--payloads/libpayload/drivers/video/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c
index 61bb02abc0..b8fe5d9687 100644
--- a/payloads/libpayload/drivers/video/video.c
+++ b/payloads/libpayload/drivers/video/video.c
@@ -216,6 +216,7 @@ int video_init(void)
video_console_fixup_cursor();
return 0;
}
+ return 1;
}
int video_console_init(void)