xref: /rk3399_rockchip-uboot/include/version.h (revision efb2172ece93ef48f34fb8bdf963d3b72880cc7d)
15b1d7137Swdenk /*
2881a87ecSWolfgang Denk  * (C) Copyright 2000-2006
35b1d7137Swdenk  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
45b1d7137Swdenk  *
55b1d7137Swdenk  * See file CREDITS for list of people who contributed to this
65b1d7137Swdenk  * project.
75b1d7137Swdenk  *
85b1d7137Swdenk  * This program is free software; you can redistribute it and/or
95b1d7137Swdenk  * modify it under the terms of the GNU General Public License as
105b1d7137Swdenk  * published by the Free Software Foundation; either version 2 of
115b1d7137Swdenk  * the License, or (at your option) any later version.
125b1d7137Swdenk  *
135b1d7137Swdenk  * This program is distributed in the hope that it will be useful,
145b1d7137Swdenk  * but WITHOUT ANY WARRANTY; without even the implied warranty of
155b1d7137Swdenk  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
165b1d7137Swdenk  * GNU General Public License for more details.
175b1d7137Swdenk  *
185b1d7137Swdenk  * You should have received a copy of the GNU General Public License
195b1d7137Swdenk  * along with this program; if not, write to the Free Software
205b1d7137Swdenk  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
215b1d7137Swdenk  * MA 02111-1307 USA
225b1d7137Swdenk  */
235b1d7137Swdenk 
245b1d7137Swdenk #ifndef	__VERSION_H__
255b1d7137Swdenk #define	__VERSION_H__
265b1d7137Swdenk 
2709c2e90cSAndreas Bießmann #include <timestamp.h>
2809c2e90cSAndreas Bießmann 
291510b82dSWolfgang Denk #ifndef DO_DEPS_ONLY
30*efb2172eSSimon Glass #include "generated/version_autogenerated.h"
311510b82dSWolfgang Denk #endif
325b1d7137Swdenk 
3309c2e90cSAndreas Bießmann #ifndef CONFIG_IDENT_STRING
3409c2e90cSAndreas Bießmann #define CONFIG_IDENT_STRING ""
3509c2e90cSAndreas Bießmann #endif
3609c2e90cSAndreas Bießmann 
3709c2e90cSAndreas Bießmann #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
3809c2e90cSAndreas Bießmann 	U_BOOT_TIME ")" CONFIG_IDENT_STRING
3909c2e90cSAndreas Bießmann 
4085f3df1cSWolfgang Denk #ifndef __ASSEMBLY__
4109c2e90cSAndreas Bießmann extern const char version_string[];
4285f3df1cSWolfgang Denk #endif	/* __ASSEMBLY__ */
435b1d7137Swdenk #endif	/* __VERSION_H__ */
44