blob: 2d24451569d551de337cbde956d388c6a598ff9e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenk5b1d7132002-11-03 00:07:02 +00002/*
Wolfgang Denk4d1d9a32006-02-21 17:33:04 +01003 * (C) Copyright 2000-2006
wdenk5b1d7132002-11-03 00:07:02 +00004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenk5b1d7132002-11-03 00:07:02 +00005 */
6
7#ifndef __VERSION_H__
8#define __VERSION_H__
9
Andreas Bießmann61d01952011-07-18 20:24:04 +020010#include <timestamp.h>
11
Wolfgang Denk9046f3f2008-05-13 23:15:52 +020012#ifndef DO_DEPS_ONLY
Simon Glass50402412011-10-10 08:55:19 +000013#include "generated/version_autogenerated.h"
Wolfgang Denk9046f3f2008-05-13 23:15:52 +020014#endif
wdenk5b1d7132002-11-03 00:07:02 +000015
Andreas Bießmann61d01952011-07-18 20:24:04 +020016#define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
Chris Packham46aec072015-05-10 21:02:09 +120017 U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING
Andreas Bießmann61d01952011-07-18 20:24:04 +020018
Wolfgang Denkb3701192011-07-28 22:14:26 +020019#ifndef __ASSEMBLY__
Andreas Bießmann61d01952011-07-18 20:24:04 +020020extern const char version_string[];
Wolfgang Denkb3701192011-07-28 22:14:26 +020021#endif /* __ASSEMBLY__ */
wdenk5b1d7132002-11-03 00:07:02 +000022#endif /* __VERSION_H__ */