/****************************************************************
 ****************************************************************
 **                                                            **
 **    (C)Copyright 2005-2011, American Megatrends Inc.        **
 **                                                            **
 **            All Rights Reserved.                            **
 **                                                            **
 **        6145-F, Northbelt Parkway, Norcross,                **
 **                                                            **
 **        Georgia - 30071, USA. Phone-(770)-246-8600.         **
 **                                                            **
 ****************************************************************
 ****************************************************************/
#ifndef _YAFU_STAT_H_
#define _YAFU_STAT_H_

#define YAFU_CC_NORMAL						0x00
#define YAFU_CC_INVALID_DATLEN			0xcc
#define YAFU_CC_ALLOC_ERR				       0x02
#define YAFU_CC_DEV_OPEN_ERR				0x03
#define YAFU_CC_SEEK_ERR				       0x04
#define YAFU_CC_READ_ERR				       0x05
#define YAFU_CC_WRITE_ERR			              0x06
#define YAFU_CC_MEM_ERASE_ERR				0x07
#define YAFU_CC_IN_DEACTIVATE                       0x08
#define YAFU_OFFSET_NOT_IN_ERASE_BOUNDARY     0x09
#define YAFU_SIZE_NOT_IN_ERASE_BOUNDARY  0x10
#define YAFU_FLASH_ERASE_FAILURE                 0x11
#define YAFU_INVALID_CHKSUM                           0x12
#define YAFU_ERR_STATE                                     0x13
#define YAFU_ECF_PROGRESS	0x14
#define YAFU_ECF_SUCCESS	0x15
#define YAFU_VERIFY_SUCCESS	0x16
#define YAFU_VERIFY_PROGRESS 0x17
#define YAFU_CC_GET_MEM_ERR		0x18
#define YAFU_CC_INVALID_DATA       0x19
#define YAFU_CC_INVALID_SIGN_IMAGE       0x20
#define YAFU_CC_SIGNED_SUPP_NOT_ENABLED       0x21
#define YAFU_VERIFY_FAILURE	0x22

#endif //_YAFU_STAT_H_








