* [U-Boot] [PATCH 3/3] common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef
@ 2012-04-27 14:41 Anatolij Gustschin
2012-05-24 21:01 ` Anatolij Gustschin
0 siblings, 1 reply; 2+ messages in thread
From: Anatolij Gustschin @ 2012-04-27 14:41 UTC (permalink / raw)
To: u-boot
Drop ifdef around bitmap_plot().
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
common/lcd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/lcd.c b/common/lcd.c
index ab78525..fe3545a 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -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;
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 3/3] common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef
2012-04-27 14:41 [U-Boot] [PATCH 3/3] common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef Anatolij Gustschin
@ 2012-05-24 21:01 ` Anatolij Gustschin
0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2012-05-24 21:01 UTC (permalink / raw)
To: u-boot
On Fri, 27 Apr 2012 16:41:27 +0200
Anatolij Gustschin <agust@denx.de> wrote:
> Drop ifdef around bitmap_plot().
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> common/lcd.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
Applied to u-boot-video/master.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-24 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 14:41 [U-Boot] [PATCH 3/3] common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef Anatolij Gustschin
2012-05-24 21:01 ` Anatolij Gustschin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox