/*
 * zynq_fsbl_versign.h
 *
 *  Created on: 21/giu/2022
 *      Author: chessaa
 */

#ifndef ZYNQ_FSBL_VERSIGN_H_
#define ZYNQ_FSBL_VERSIGN_H_


 struct zynq_fsbl_versign_t
{
	unsigned long long start_marker;
	char name[32];
	unsigned char md5[16];
	char git_hash[64];
	char user[32];
	char hotname[32];
	char domain[32];
	char date_time[24];
	unsigned int build;
	unsigned int major;
	unsigned int minor;
	unsigned int patch;
	unsigned long long end_marker;
};

extern const zynq_fsbl_versign_t zynq_fsbl_versign__;

#define ZYNQ_FSBL_VERSIGN_DECLARE const zynq_fsbl_versign_t zynq_fsbl_versign__ __attribute__ ((section(".signature"),used)) = {0xfedcba9876543210,{0},{0},{0},{0},{0},{0},{0},0,0,0,0,0x0123456789abcdef};

#ifdef __cplusplus
extern "C" {
#endif

extern void zynq_fsbl_fix_signature(void); //Required to have both "dsp5" style signature and zynq FSBL required signature

#ifdef __cplusplus
}
#endif




#endif /* ZYNQ_FSBL_VERSIGN_H_ */
