]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/version.h
mx31pdk: add CONFIG_SPL_LIBGENERIC_SUPPORT
[karo-tx-uboot.git] / include / version.h
index e91860f42563ffdfefc2942b5d92a6743aa08a9b..c908bd30138f49258b29e73cda23b4b8cbd19fc8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * (C) Copyright 2000-2003
+ * (C) Copyright 2000-2006
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
  * See file CREDITS for list of people who contributed to this
 #ifndef        __VERSION_H__
 #define        __VERSION_H__
 
-#define        U_BOOT_VERSION  "U-Boot 1.1.0"
+#include <timestamp.h>
 
+#ifndef DO_DEPS_ONLY
+#include "generated/version_autogenerated.h"
+#endif
+
+#ifndef CONFIG_IDENT_STRING
+#define CONFIG_IDENT_STRING ""
+#endif
+
+#define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
+       U_BOOT_TIME ")" CONFIG_IDENT_STRING
+
+#ifndef __ASSEMBLY__
+extern const char version_string[];
+#endif /* __ASSEMBLY__ */
 #endif /* __VERSION_H__ */