From: Ilko Iliev <iliev@ronetix.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] lcd: print custom strings after the logo
Date: Tue, 21 Oct 2008 15:10:02 +0200 [thread overview]
Message-ID: <48FDD4AA.40009@ronetix.at> (raw)
This patch allows to print custom strings on the LCD after the logo.
Signed-off-by: Ilko Iliev <iliev@ronetix.at>
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 "at91support at atmel.com"
+#endif
+
+ sprintf (info, CONFIG_LCD_LOGO_TEXT1);
lcd_drawchars (LCD_INFO_X, LCD_INFO_Y + VIDEO_FONT_HEIGHT,
(uchar *)info, strlen(info));
- sprintf (info, "at91support at atmel.com");
+ sprintf (info, CONFIG_LCD_LOGO_TEXT2);
lcd_drawchars (LCD_INFO_X, LCD_INFO_Y + VIDEO_FONT_HEIGHT * 2,
(uchar *)info, strlen(info));
next reply other threads:[~2008-10-21 13:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 13:10 Ilko Iliev [this message]
2008-10-21 16:23 ` [U-Boot] [PATCH] lcd: print custom strings after the logo Stelian Pop
2008-10-21 16:43 ` Ilko Iliev
2008-10-21 16:54 ` Stelian Pop
2008-10-21 19:40 ` Wolfgang Denk
2008-10-21 20:56 ` Jean-Christophe PLAGNIOL-VILLARD
2008-10-22 14:00 ` Anatolij Gustschin
2008-10-23 18:36 ` Haavard Skinnemoen
2008-10-23 18:53 ` Jean-Christophe PLAGNIOL-VILLARD
2008-10-23 19:08 ` Haavard Skinnemoen
2008-10-23 19:19 ` Wolfgang Denk
2008-10-23 20:29 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48FDD4AA.40009@ronetix.at \
--to=iliev@ronetix.at \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.