This patch allows to print custom strings on the LCD after the logo.
Signed-off-by: Ilko Iliev <[EMAIL PROTECTED]>
index d104b26..a94a4da 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -827,11 +827,19 @@ static void *lcd_logo (void)
sprintf (info, "%s", U_BOOT_VERSION);
lcd_drawchars (LCD_INFO_X, LCD_INFO_Y, (uchar *)info, strlen(info));
- sprintf (info, "(C) 2008 ATMEL Corp");
+#ifndef CONFIG_LCD_LOGO_TEXT1
+# define CONFIG_LCD_LOGO_TEXT1 "(C) 2008 ATMEL Corp"
+#endif
+
+#ifndef CONFIG_LCD_LOGO_TEXT2
+# define CONFIG_LCD_LOGO_TEXT2 "[EMAIL PROTECTED]"
+#endif
+
+ sprintf (info, CONFIG_LCD_LOGO_TEXT1);
lcd_drawchars (LCD_INFO_X, LCD_INFO_Y + VIDEO_FONT_HEIGHT,
(uchar *)info, strlen(info));
- sprintf (info, "[EMAIL PROTECTED]");
+ sprintf (info, CONFIG_LCD_LOGO_TEXT2);
lcd_drawchars (LCD_INFO_X, LCD_INFO_Y + VIDEO_FONT_HEIGHT * 2,
(uchar *)info, strlen(info));
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot