2002-11-03 00:07:02 +00:00
|
|
|
/*
|
2006-02-21 16:33:04 +00:00
|
|
|
* (C) Copyright 2000-2006
|
2002-11-03 00:07:02 +00:00
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
|
|
|
* See file CREDITS for list of people who contributed to this
|
|
|
|
* project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __VERSION_H__
|
|
|
|
#define __VERSION_H__
|
|
|
|
|
2011-07-18 18:24:04 +00:00
|
|
|
#include <timestamp.h>
|
|
|
|
|
2008-05-13 21:15:52 +00:00
|
|
|
#ifndef DO_DEPS_ONLY
|
2006-02-21 16:33:04 +00:00
|
|
|
#include "version_autogenerated.h"
|
2008-05-13 21:15:52 +00:00
|
|
|
#endif
|
2002-11-03 00:07:02 +00:00
|
|
|
|
2011-07-18 18:24:04 +00:00
|
|
|
#ifndef CONFIG_IDENT_STRING
|
|
|
|
#define CONFIG_IDENT_STRING ""
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
|
|
|
|
U_BOOT_TIME ")" CONFIG_IDENT_STRING
|
|
|
|
|
2011-07-28 20:14:26 +00:00
|
|
|
#ifndef __ASSEMBLY__
|
2011-07-18 18:24:04 +00:00
|
|
|
extern const char version_string[];
|
2011-07-28 20:14:26 +00:00
|
|
|
#endif /* __ASSEMBLY__ */
|
2002-11-03 00:07:02 +00:00
|
|
|
#endif /* __VERSION_H__ */
|