wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 1 | /* |
Wolfgang Denk | 4d1d9a3 | 2006-02-21 17:33:04 +0100 | [diff] [blame] | 2 | * (C) Copyright 2000-2006 |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | * | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 6 | */ |
7 | |||||
8 | #ifndef __VERSION_H__ | ||||
9 | #define __VERSION_H__ | ||||
10 | |||||
Andreas Bießmann | 61d0195 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 11 | #include <timestamp.h> |
12 | |||||
Wolfgang Denk | 9046f3f | 2008-05-13 23:15:52 +0200 | [diff] [blame] | 13 | #ifndef DO_DEPS_ONLY |
Simon Glass | 5040241 | 2011-10-10 08:55:19 +0000 | [diff] [blame] | 14 | #include "generated/version_autogenerated.h" |
Wolfgang Denk | 9046f3f | 2008-05-13 23:15:52 +0200 | [diff] [blame] | 15 | #endif |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 16 | |
Andreas Bießmann | 61d0195 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 17 | #ifndef CONFIG_IDENT_STRING |
18 | #define CONFIG_IDENT_STRING "" | ||||
19 | #endif | ||||
20 | |||||
21 | #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \ | ||||
Chris Packham | 46aec07 | 2015-05-10 21:02:09 +1200 | [diff] [blame] | 22 | U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING |
Andreas Bießmann | 61d0195 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 23 | |
Wolfgang Denk | b370119 | 2011-07-28 22:14:26 +0200 | [diff] [blame] | 24 | #ifndef __ASSEMBLY__ |
Andreas Bießmann | 61d0195 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 25 | extern const char version_string[]; |
Wolfgang Denk | b370119 | 2011-07-28 22:14:26 +0200 | [diff] [blame] | 26 | #endif /* __ASSEMBLY__ */ |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 27 | #endif /* __VERSION_H__ */ |