nt9856x/BSP/u-boot/board/novatek/nvt-na51090-a64/nvt_headinfo.c
2023-03-28 15:07:53 +08:00

42 lines
1.1 KiB
C
Executable File

/*; Copyright Novatek Microelectronics Corp. 2012. All rights reserved.
*;
*; @file BinInfo.c
*; @ingroup
*;
*; @brief Binary file information
*; Binary file information
*;
*; @version V1.20.000
*; @author Novatek
*; @date 2012/07/19
*/
#include <asm/sections.h>
#include <asm/nvt-common/nvt_types.h>
#include <asm/nvt-common/modelext/bin_info.h>
#include <configs/novatek/na51090_ca53_a64.h>
#define __string(_x) #_x
#define __xstring(_x) __string(_x)
extern char uboot_bin_size[];
extern HEADINFO gHeadInfo __attribute__ ((section (".data.bininfo")));
HEADINFO gHeadInfo =
{
CONFIG_UBOOT_SDRAM_BASE, //<- fw CODE entry (4)
{0}, ///<- reserved (4*19)
"ub51090 ", //<- CHIP-NAME / TAG-NAME (8)
"FFFFFFFF", //<- version (8)
__xstring(_BUILD_DATE_), //<- releasedate (8)
0xffffffff, //<- Bin File Length (4)
0xffffffff, //<- Check Sum or CRC (4)
0,///<- Length check for CRC (4)
0,///<- where modelext data is. w by Ld / u-boot (4)
#ifdef _NVT_LINUX_SMP_ON_
2,///<- Bin flag (4)
#else
0,
#endif
0,///<- Binary Tag for CRC (4)
};