summaryrefslogtreecommitdiffstats
path: root/cpu/mpc512x
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 /cpu/mpc512x
parent1450c4a6682378567030414a9f1198c39b7730c7 (diff)
downloadtalos-obmc-uboot-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.gz
talos-obmc-uboot-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.zip
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 'cpu/mpc512x')
-rw-r--r--cpu/mpc512x/start.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mpc512x/start.S b/cpu/mpc512x/start.S
index 26f3c5237e..360682dafc 100644
--- a/cpu/mpc512x/start.S
+++ b/cpu/mpc512x/start.S
@@ -31,6 +31,7 @@
#include <config.h>
#include <mpc512x.h>
+#include <timestamp.h>
#include <version.h>
#define CONFIG_521X 1 /* needed for Linux kernel header files*/
@@ -85,7 +86,7 @@
.globl version_string
version_string:
.ascii U_BOOT_VERSION
- .ascii " (", __DATE__, " - ", __TIME__, ")"
+ .ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")"
.ascii " ", CONFIG_IDENT_STRING, "\0"
/*
OpenPOWER on IntegriCloud