lcd: Let the board code show board-specific info cleanup
PATCH 1/1 lcd: Let the board code show board-specific info cleanup
Allow tqm8xx.c to cleanly compile when CONFIG_LCD_INFO is defined and remove unneeded version.h from lcd.c
---
I noticed this when adding timestamp.h to tqm8xx.c. The "Update U-Boot's build timestamp on every compile" patch should be applied first.
It looks like neither tqm8xx.c or lwmon.c would compile if CONFIG_LCD_INFO_BELOW_LOGO were defined since 6b59e03e0237a40a2305ea385defdfd92000978b FWIW.
board/tqc/tqm8xx/tqm8xx.c | 3 +++ common/lcd.c | 1 - 2 files changed, 3 insertions(+), 1 deletions(-)
board/tqc/tqm8xx/tqm8xx.c +3 -0
@@ -570,10 +570,13 @@ void ide_led (uchar led, uchar status)#ifdef CONFIG_LCD_INFO #include <lcd.h> +#include <version.h> #include <timestamp.h> void lcd_show_board_info (void ) { +char temp[32 ]; +lcd_printf ("%s (%s - %s)\n" ,U_BOOT_VERSION ,U_BOOT_DATE ,U_BOOT_TIME );lcd_printf ("(C) 2008 DENX Software Engineering GmbH\n" );lcd_printf (" Wolfgang DENK, wd at denx.de\n" );
common/lcd.c +0 -1
@@ -32,7 +32,6 @@#include <config.h> #include <common.h> #include <command.h> -#include <version.h> #include <stdarg.h> #include <linux/types.h> #include <devices.h>
Signature · 1 line
1.6.0.2.GIT
PATCH 1/1 lcd: Let the board code show board-specific info cleanup
Dear Peter Tyser,
Quoted 8 lines · In message <[email protected]> you wrote:
Allow
tqm8xx.cto cleanly compile whenCONFIG_LCD_INFOis defined and remove unneededversion.hfromlcd.cSigned-off-by Peter Tyser <[email protected]>---
I noticed this when addingtimestamp.htotqm8xx.c. The "Update U-Boot's build timestamp on every compile" patch should be applied first.
Could you please rebase and resubmit that patch? It doesn't apply:
Applying lcd: Let the board code show board-specific info cleanup
error: patch failed: board/tqc/tqm8xx/tqm8xx.c:570
error: board/tqc/tqm8xx/tqm8xx.c: patch does not apply
fatal: sha1 information is lacking or useless (board/tqc/tqm8xx/tqm8xx.c).
Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
Patch failed at 0001.
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
Mr. Cole's Axiom:
The sum of the intelligence on the planet is a constant;
the population is growing.PATCH 1/1 lcd: Let the board code show board-specific info cleanup
Hi Wolfgang,
Quoted 11 lines
Quoted 8 lines · In message <[email protected]> you wrote:
Allow
tqm8xx.cto cleanly compile whenCONFIG_LCD_INFOis defined and remove unneededversion.hfromlcd.cSigned-off-by Peter Tyser <[email protected]>---
I noticed this when addingtimestamp.htotqm8xx.c. The "Update U-Boot's build timestamp on every compile" patch should be applied first.Could you please rebase and resubmit that patch? It doesn't apply:
This needs to be applied on top of the "Update U-Boot's build timestamp on every compile" patch.
Best,
Peter
PATCH 1/1 lcd: Let the board code show board-specific info cleanup
In reply to Peter TyserDear Peter Tyser,
Quoted 9 lines · In message <[email protected]> you wrote:
Allow
tqm8xx.cto cleanly compile whenCONFIG_LCD_INFOis defined and remove unneededversion.hfromlcd.cSigned-off-by Peter Tyser <[email protected]>---
I noticed this when addingtimestamp.htotqm8xx.c. The "Update U-Boot's build timestamp on every compile" patch should be applied first.
Quoted 7 lines
It looks like neither
tqm8xx.corlwmon.cwould compile ifCONFIG_LCD_INFO_BELOW_LOGOwere defined since6b59e03e0237a40a2305ea385defdfd92000978bFWIW.board/tqc/tqm8xx/tqm8xx.c | 3 +++ common/lcd.c | 1 - 2 files changed, 3 insertions(+), 1 deletions(-)
Applied remaining part of patch. Thanks.
Best regards,
Wolfgang Denk
Signature · 5 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
I wish I had a bronze torc for every user who didn't read the manual.
- Terry Pratchett, _The Light Fantastic_