mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef
Drop ifdef around bitmap_plot(). Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
0f999c49e5
commit
2b5cb3d331
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue