summaryrefslogtreecommitdiff
path: root/board/bmw/bmw.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/bmw/bmw.c
parent1450c4a6682378567030414a9f1198c39b7730c7 (diff)
downloadu-boot-imx-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.zip
u-boot-imx-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.gz
u-boot-imx-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.bz2
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/bmw/bmw.c')
-rw-r--r--board/bmw/bmw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bmw/bmw.c b/board/bmw/bmw.c
index b629c38..41ce14f 100644
--- a/board/bmw/bmw.c
+++ b/board/bmw/bmw.c
@@ -28,7 +28,7 @@
#include <malloc.h>
#include <devices.h>
#include <net.h>
-#include <version.h>
+#include <timestamp.h>
#include <dtt.h>
#include <mpc824x.h>
#include <asm/processor.h>
@@ -45,7 +45,7 @@ int checkboard(void)
char buf[32];
puts ("Board: BMW MPC8245/KAHLUA2 - CHRP (MAP B)\n");
- printf("Built: %s at %s\n", __DATE__ , __TIME__ );
+ printf("Built: %s at %s\n", U_BOOT_DATE, U_BOOT_TIME);
/* printf("MPLD: Revision %d\n", SYS_REVID_GET()); */
printf("Local Bus at %s MHz\n", strmhz(buf, busfreq));
return 0;