wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 1 | /* |
Wolfgang Denk | 881a87e | 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 | 1a45966 | 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 | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 11 | #include <timestamp.h> |
12 | |||||
Wolfgang Denk | 1510b82 | 2008-05-13 23:15:52 +0200 | [diff] [blame] | 13 | #ifndef DO_DEPS_ONLY |
Simon Glass | efb2172 | 2011-10-10 08:55:19 +0000 | [diff] [blame] | 14 | #include "generated/version_autogenerated.h" |
Wolfgang Denk | 1510b82 | 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 | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 17 | #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \ |
Chris Packham | e186851 | 2015-05-10 21:02:09 +1200 | [diff] [blame] | 18 | U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING |
Andreas Bießmann | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 19 | |
Wolfgang Denk | 85f3df1 | 2011-07-28 22:14:26 +0200 | [diff] [blame] | 20 | #ifndef __ASSEMBLY__ |
Andreas Bießmann | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 21 | extern const char version_string[]; |
Wolfgang Denk | 85f3df1 | 2011-07-28 22:14:26 +0200 | [diff] [blame] | 22 | #endif /* __ASSEMBLY__ */ |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 23 | #endif /* __VERSION_H__ */ |