diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 68d8c7dc1932ad1fa47d918b79db77b1ed80de5c..4c668d388a493e7c982c70fb05c8f7532f4d3aa9 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -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)