]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef
authorAnatolij Gustschin <agust@denx.de>
Fri, 27 Apr 2012 04:41:27 +0000 (04:41 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 25 May 2012 07:15:10 +0000 (09:15 +0200)
Drop ifdef around bitmap_plot().

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/lcd.c

index ab78525d17ff7f2f229b54785b8ae7ab8336c04f..fe3545a7e8f24c3ec59e8db2ab9300d67986944f 100644 (file)
@@ -594,6 +594,8 @@ void bitmap_plot (int x, int y)
 
        WATCHDOG_RESET();
 }
+#else
+static inline void bitmap_plot(int x, int y) {}
 #endif /* CONFIG_LCD_LOGO */
 
 /*----------------------------------------------------------------------*/
@@ -839,9 +841,7 @@ static void *lcd_logo (void)
        }
 #endif /* CONFIG_SPLASH_SCREEN */
 
-#ifdef CONFIG_LCD_LOGO
-       bitmap_plot (0, 0);
-#endif /* CONFIG_LCD_LOGO */
+       bitmap_plot(0, 0);
 
 #ifdef CONFIG_LCD_INFO
        console_col = LCD_INFO_X / VIDEO_FONT_WIDTH;