[U-Boot] [PATCH] lcd: print custom strings after the logo

Stelian Pop stelian at popies.net
Tue Oct 21 18:23:01 CEST 2008


Le mardi 21 octobre 2008 à 15:10 +0200, Ilko Iliev a écrit :
> This patch allows to print custom strings on the LCD after the logo.

Hi Ilko,

> Signed-off-by: Ilko Iliev <iliev at 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

Wouldn't it be better if we move this text into
include/configs/at91xxx.h for all the boards ?


-- 
Stelian Pop <stelian at popies.net>



More information about the U-Boot mailing list