summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/include/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/include/version.h')
-rw-r--r--qemu/roms/u-boot/include/version.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/include/version.h b/qemu/roms/u-boot/include/version.h
new file mode 100644
index 000000000..d6c7cf2ae
--- /dev/null
+++ b/qemu/roms/u-boot/include/version.h
@@ -0,0 +1,27 @@
+/*
+ * (C) Copyright 2000-2006
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __VERSION_H__
+#define __VERSION_H__
+
+#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__ */