YafuStatus.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /****************************************************************
  2. ****************************************************************
  3. ** **
  4. ** (C)Copyright 2005-2011, American Megatrends Inc. **
  5. ** **
  6. ** All Rights Reserved. **
  7. ** **
  8. ** 6145-F, Northbelt Parkway, Norcross, **
  9. ** **
  10. ** Georgia - 30071, USA. Phone-(770)-246-8600. **
  11. ** **
  12. ****************************************************************
  13. ****************************************************************/
  14. #ifndef _YAFU_STAT_H_
  15. #define _YAFU_STAT_H_
  16. #define YAFU_CC_NORMAL 0x00
  17. #define YAFU_CC_INVALID_DATLEN 0xcc
  18. #define YAFU_CC_ALLOC_ERR 0x02
  19. #define YAFU_CC_DEV_OPEN_ERR 0x03
  20. #define YAFU_CC_SEEK_ERR 0x04
  21. #define YAFU_CC_READ_ERR 0x05
  22. #define YAFU_CC_WRITE_ERR 0x06
  23. #define YAFU_CC_MEM_ERASE_ERR 0x07
  24. #define YAFU_CC_IN_DEACTIVATE 0x08
  25. #define YAFU_OFFSET_NOT_IN_ERASE_BOUNDARY 0x09
  26. #define YAFU_SIZE_NOT_IN_ERASE_BOUNDARY 0x10
  27. #define YAFU_FLASH_ERASE_FAILURE 0x11
  28. #define YAFU_INVALID_CHKSUM 0x12
  29. #define YAFU_ERR_STATE 0x13
  30. #define YAFU_ECF_PROGRESS 0x14
  31. #define YAFU_ECF_SUCCESS 0x15
  32. #define YAFU_VERIFY_SUCCESS 0x16
  33. #define YAFU_VERIFY_PROGRESS 0x17
  34. #define YAFU_CC_GET_MEM_ERR 0x18
  35. #define YAFU_CC_INVALID_DATA 0x19
  36. #define YAFU_CC_INVALID_SIGN_IMAGE 0x20
  37. #define YAFU_CC_SIGNED_SUPP_NOT_ENABLED 0x21
  38. #define YAFU_VERIFY_FAILURE 0x22
  39. #endif //_YAFU_STAT_H_