]>
Commit | Line | Data |
---|---|---|
5b1d7137 | 1 | /* |
881a87ec | 2 | * (C) Copyright 2000-2006 |
5b1d7137 WD |
3 | * Wolfgang Denk, DENX Software Engineering, [email protected]. |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
5b1d7137 WD |
6 | */ |
7 | ||
8 | #ifndef __VERSION_H__ | |
9 | #define __VERSION_H__ | |
10 | ||
09c2e90c AB |
11 | #include <timestamp.h> |
12 | ||
1510b82d | 13 | #ifndef DO_DEPS_ONLY |
efb2172e | 14 | #include "generated/version_autogenerated.h" |
1510b82d | 15 | #endif |
5b1d7137 | 16 | |
09c2e90c AB |
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 " - " \ | |
22 | U_BOOT_TIME ")" CONFIG_IDENT_STRING | |
23 | ||
85f3df1c | 24 | #ifndef __ASSEMBLY__ |
09c2e90c | 25 | extern const char version_string[]; |
85f3df1c | 26 | #endif /* __ASSEMBLY__ */ |
5b1d7137 | 27 | #endif /* __VERSION_H__ */ |