xref: /openbmc/u-boot/include/version.h (revision 9d922450)
1 /*
2  * (C) Copyright 2000-2006
3  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef	__VERSION_H__
9 #define	__VERSION_H__
10 
11 #include <timestamp.h>
12 
13 #ifndef DO_DEPS_ONLY
14 #include "generated/version_autogenerated.h"
15 #endif
16 
17 #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
18 	U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING
19 
20 #ifndef __ASSEMBLY__
21 extern const char version_string[];
22 #endif	/* __ASSEMBLY__ */
23 #endif	/* __VERSION_H__ */
24