summaryrefslogtreecommitdiff
path: root/board/lwmon/lwmon.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2008-11-03 09:30:59 -0600
committerWolfgang Denk <wd@denx.de>2008-12-06 23:36:43 +0100
commit561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9 (patch)
tree592e0f4f06597a923de9c0ae3afa762ca517ee04 /board/lwmon/lwmon.c
parent1450c4a6682378567030414a9f1198c39b7730c7 (diff)
Update U-Boot's build timestamp on every compile
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'board/lwmon/lwmon.c')
-rw-r--r--board/lwmon/lwmon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c
index d062466c0f6..878752c6691 100644
--- a/board/lwmon/lwmon.c
+++ b/board/lwmon/lwmon.c
@@ -762,12 +762,13 @@ static uchar *key_match (uchar *kbd_data)
#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, __DATE__, __TIME__);
+ 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@denx.de\n");
#ifdef CONFIG_LCD_INFO_BELOW_LOGO