OSHW-DEIMOS/SOFTWARE/A64-TERES/sunxi-pack-tools/update_uboot/check.h
Dimitar Gamishev d867a2260d more stuff
2017-10-13 14:08:52 +03:00

50 lines
1.2 KiB
C

/*
******************************************************************************************************************
* eGON
* the Embedded GO-ON Bootloader System
*
* Copyright(C), 2006-2008, SoftWinners Microelectronic Co., Ltd.
* All Rights Reserved
*
* File Name : check.h
*
* Author : Gary.Wang
*
* Version : 1.1.0
*
* Date : 2007.10.12
*
* Description £ºThis file provides a function to check Boot0 and Boot1.
*
* Others : None at present.
*
*
* History :
*
* <Author> <time> <version> <description>
*
* Gary.Wang 2007.10.12 1.1.0 build the file
*
************************************************************************************************************************
*/
#ifndef __script_check_h
#define __script_check_h
#include "types.h"
#define CHECK_IS_WRONG 1
#define CHECK_IS_CORRECT 0
extern __s32 check_file ( __u32 *mem_base, __u32 size, const char *magic );
extern __s32 gen_check_sum( void *boot_buf );
#endif // end of #ifndef __check_h
/* end of check.h */