Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 2 | /* |
Wolfgang Denk | 881a87e | 2006-02-21 17:33:04 +0100 | [diff] [blame] | 3 | * (C) Copyright 2000-2006 |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 4 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #ifndef __VERSION_H__ | ||||
8 | #define __VERSION_H__ | ||||
9 | |||||
Andreas Bießmann | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 10 | #include <timestamp.h> |
11 | |||||
Wolfgang Denk | 1510b82 | 2008-05-13 23:15:52 +0200 | [diff] [blame] | 12 | #ifndef DO_DEPS_ONLY |
Simon Glass | efb2172 | 2011-10-10 08:55:19 +0000 | [diff] [blame] | 13 | #include "generated/version_autogenerated.h" |
Wolfgang Denk | 1510b82 | 2008-05-13 23:15:52 +0200 | [diff] [blame] | 14 | #endif |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 15 | |
Andreas Bießmann | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 16 | #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \ |
Chris Packham | e186851 | 2015-05-10 21:02:09 +1200 | [diff] [blame] | 17 | U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING |
Andreas Bießmann | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 18 | |
Wolfgang Denk | 85f3df1 | 2011-07-28 22:14:26 +0200 | [diff] [blame] | 19 | #ifndef __ASSEMBLY__ |
Andreas Bießmann | 09c2e90 | 2011-07-18 20:24:04 +0200 | [diff] [blame] | 20 | extern const char version_string[]; |
Wolfgang Denk | 85f3df1 | 2011-07-28 22:14:26 +0200 | [diff] [blame] | 21 | #endif /* __ASSEMBLY__ */ |
wdenk | 5b1d713 | 2002-11-03 00:07:02 +0000 | [diff] [blame] | 22 | #endif /* __VERSION_H__ */ |