lwmon, tqm8xx: Fix build errors
PATCH 1/1 lwmon, tqm8xx: Fix build errors
Commit 6b59e03e0237a40a2305ea385defdfd92000978b
lcd: Let the board code show board-specific info
introduced some bugs which prevent U-Boot building for lwmon board if CONFIG_LCD_INFO_BELOW_LOGO will be defined in the board configuration.
Also "LCD enabled" building for TQM823L doesn't work since this commit.
This patch fixes above-mentioned issues.
--- board/lwmon/lwmon.c | 2 -- board/tqc/tqm8xx/tqm8xx.c | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-)
board/lwmon/lwmon.c +0 -2
@@ -773,8 +773,6 @@ void lcd_show_board_info(void)#ifdef CONFIG_LCD_INFO_BELOW_LOGO lcd_printf ("MPC823 CPU at %s MHz\n" ,strmhz (temp, gd->cpu_clk)); -lcd_drawchars (LCD_INFO_X ,LCD_INFO_Y +VIDEO_FONT_HEIGHT *3 , - info,strlen (info));lcd_printf (" %ld MB RAM, %ld MB Flash\n" , gd->ram_size >>20 , gd->bd->bi_flashsize >>20 );
board/tqc/tqm8xx/tqm8xx.c +3 -2
@@ -570,17 +570,18 @@ void ide_led (uchar led, uchar status)#ifdef CONFIG_LCD_INFO #include <lcd.h> +#include <version.h> void lcd_show_board_info (void ) { +char temp[32 ]; +lcd_printf ("%s (%s - %s)\n" ,U_BOOT_VERSION , __DATE__, __TIME__);lcd_printf ("(C) 2008 DENX Software Engineering GmbH\n" );lcd_printf (" Wolfgang DENK, wd at denx.de\n" );#ifdef CONFIG_LCD_INFO_BELOW_LOGO lcd_printf ("MPC823 CPU at %s MHz\n" ,strmhz (temp, gd->cpu_clk)); -lcd_drawchars (LCD_INFO_X ,LCD_INFO_Y +VIDEO_FONT_HEIGHT *3 , - info,strlen (info));lcd_printf (" %ld MB RAM, %ld MB Flash\n" , gd->ram_size >>20 , gd->bd->bi_flashsize >>20 );
Signature · 1 line
1.5.3.3
Wolfgang Denk
AppliedPATCH 1/1 lwmon, tqm8xx: Fix build errors
Dear Anatolij,
Quoted 10 lines · In message <[email protected]> you wrote:
Commit
6b59e03e0237a40a2305ea385defdfd92000978b
lcd: Let the board code show board-specific infointroduced some bugs which prevent U-Boot building for lwmon board if
CONFIG_LCD_INFO_BELOW_LOGOwill be defined in the board configuration.Also "LCD enabled" building for TQM823L doesn't work since this commit.
Quoted 7 lines
This patch fixes above-mentioned issues.
Signed-off-by Anatolij Gustschin <[email protected]>--- board/lwmon/lwmon.c | 2 -- board/tqc/tqm8xx/tqm8xx.c | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Life and death are seldom logical." "But attaining a desired goal always is." -- McCoy and Spock, "The Galileo Seven", stardate 2821.7