Skip to content
Snippets Groups Projects
Commit 9a5233fb authored by Troy Kisky's avatar Troy Kisky
Browse files

cfb_console: add CONFIG_VIDEO_SKIP_VERSION

parent c5f3b370
No related branches found
No related tags found
No related merge requests found
......@@ -1904,6 +1904,7 @@ static void *video_logo(void)
if (board_cfb_skip())
return 0;
#ifndef CONFIG_VIDEO_SKIP_VERSION
sprintf(info, " %s", version_string);
#ifndef CONFIG_HIDE_LOGO_VERSION
......@@ -1935,6 +1936,7 @@ static void *video_logo(void)
}
} else
video_drawstring(VIDEO_INFO_X, VIDEO_INFO_Y, (uchar *) info);
#endif
#ifdef CONFIG_CONSOLE_EXTRA_INFO
{
......@@ -2111,7 +2113,9 @@ static int cfg_video_init(void)
#ifndef CONFIG_VIDEO_LOGO
if (!board_cfb_skip()){
video_console_address = video_fb_address;
#ifndef CONFIG_VIDEO_SKIP_VERSION
video_drawstring(VIDEO_FONT_WIDTH, 0, (uchar *)version_string);
#endif
}
#endif
#if defined(CONFIG_VIDEO_LOGO) || defined(CONFIG_SPLASH_SCREEN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment