]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/mpc8xx/video.c
Update U-Boot's build timestamp on every compile
[karo-tx-uboot.git] / cpu / mpc8xx / video.c
index 2e6a22a94bc00944f93c70e8538ff1276d5de4f4..54796449c4bb4a64e630df255d5cf1e19ec3a9a9 100644 (file)
 #include <stdarg.h>
 #include <common.h>
 #include <config.h>
+#ifdef VIDEO_INFO
 #include <version.h>
+#include <timestamp.h>
+#endif
 #include <i2c.h>
 #include <linux/types.h>
 #include <devices.h>
@@ -1174,7 +1177,8 @@ static void *video_logo (void)
        easylogo_plot (VIDEO_LOGO_ADDR, screen, width, 0, 0);
 
 #ifdef VIDEO_INFO
-       sprintf (info, "%s (%s - %s) ", U_BOOT_VERSION, __DATE__, __TIME__);
+       sprintf (info, "%s (%s - %s) ",
+                U_BOOT_VERSION, U_BOOT_DATE, U_BOOT_TIME);
        video_drawstring (VIDEO_INFO_X, VIDEO_INFO_Y, info);
 
        sprintf (info, "(C) 2002 DENX Software Engineering");