From 6ec8285aa151a246a05805ee7165c3c1ddb43958 Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Tue, 21 Oct 2008 21:49:48 +0000 Subject: [PATCH] fix video console init Move console_add_output-driver() inside the for() loop Signed-off-by: Jordan Crouse Acked-by: Jordan Crouse git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3681 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/drivers/video/video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'payloads/libpayload/drivers') diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c index 83c393b4db..a9c070d527 100644 --- a/payloads/libpayload/drivers/video/video.c +++ b/payloads/libpayload/drivers/video/video.c @@ -193,11 +193,10 @@ int video_console_init(void) } video_console_fixup_cursor(); + console_add_output_driver(&cons); return 0; } - console_add_output_driver(&cons); - return 0; } -- cgit v1.2.3