Go to the documentation of this file.
26 #ifndef _AIC94XX_SDS_H_
27 #define _AIC94XX_SDS_H_
35 #define FLASH_MANUF_ID_AMD 0x01
36 #define FLASH_MANUF_ID_ST 0x20
37 #define FLASH_MANUF_ID_FUJITSU 0x04
38 #define FLASH_MANUF_ID_MACRONIX 0xC2
39 #define FLASH_MANUF_ID_INTEL 0x89
40 #define FLASH_MANUF_ID_UNKNOWN 0xFF
42 #define FLASH_DEV_ID_AM29LV008BT 0x3E
43 #define FLASH_DEV_ID_AM29LV800DT 0xDA
44 #define FLASH_DEV_ID_STM29W800DT 0xD7
45 #define FLASH_DEV_ID_STM29LV640 0xDE
46 #define FLASH_DEV_ID_STM29008 0xEA
47 #define FLASH_DEV_ID_MBM29LV800TE 0xDA
48 #define FLASH_DEV_ID_MBM29DL800TA 0x4A
49 #define FLASH_DEV_ID_MBM29LV008TA 0x3E
50 #define FLASH_DEV_ID_AM29LV640MT 0x7E
51 #define FLASH_DEV_ID_AM29F800B 0xD6
52 #define FLASH_DEV_ID_MX29LV800BT 0xDA
53 #define FLASH_DEV_ID_MX29LV008CT 0xDA
54 #define FLASH_DEV_ID_I28LV00TAT 0x3E
55 #define FLASH_DEV_ID_UNKNOWN 0xFF
58 #define FLASH_STATUS_BIT_MASK_DQ6 0x40
59 #define FLASH_STATUS_BIT_MASK_DQ5 0x20
60 #define FLASH_STATUS_BIT_MASK_DQ2 0x04
63 #define FLASH_STATUS_ERASE_DELAY_COUNT 50
64 #define FLASH_STATUS_WRITE_DELAY_COUNT 25
66 #define FLASH_SECTOR_SIZE 0x010000
67 #define FLASH_SECTOR_SIZE_MASK 0xffff0000
69 #define FLASH_OK 0x000000
70 #define FAIL_OPEN_BIOS_FILE 0x000100
71 #define FAIL_CHECK_PCI_ID 0x000200
72 #define FAIL_CHECK_SUM 0x000300
73 #define FAIL_UNKNOWN 0x000400
74 #define FAIL_VERIFY 0x000500
75 #define FAIL_RESET_FLASH 0x000600
76 #define FAIL_FIND_FLASH_ID 0x000700
77 #define FAIL_ERASE_FLASH 0x000800
78 #define FAIL_WRITE_FLASH 0x000900
79 #define FAIL_FILE_SIZE 0x000a00
80 #define FAIL_PARAMETERS 0x000b00
81 #define FAIL_OUT_MEMORY 0x000c00
82 #define FLASH_IN_PROGRESS 0x001000
113 const void *
src,
u32 dest_offset,
u32 bytes_to_verify);
115 const void *
src,
u32 dest_offset,
u32 bytes_to_write);
117 u32 sector_addr,
u8 erase_flag);