From 0f25fe99c76017d1859393befe8600ed98209ce2 Mon Sep 17 00:00:00 2001
From: Eric Nelson <eric.nelson@boundarydevices.com>
Date: Tue, 10 Dec 2013 14:30:28 -0700
Subject: [PATCH] cfb_console: don't display version info if board_cfb_skip()

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 drivers/video/cfb_console.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 6dbda0b9f95..8b5fe0ffda4 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -2104,8 +2104,10 @@ static int cfg_video_init(void)
 	debug("Video: Drawing the logo ...\n");
 	video_console_address = video_logo();
 #else
-	video_console_address = video_fb_address;
-        video_drawstring(VIDEO_FONT_WIDTH, 0, (uchar *)version_string);
+	if (!board_cfb_skip()){
+		video_console_address = video_fb_address;
+		video_drawstring(VIDEO_FONT_WIDTH, 0, (uchar *)version_string);
+	}
 #endif
 
 	/* Initialize the console */
-- 
GitLab