Go to the documentation of this file.
30 #ifndef __RTL_EFUSE_H_
31 #define __RTL_EFUSE_H_
33 #define EFUSE_IC_ID_OFFSET 506
35 #define EFUSE_REAL_CONTENT_LEN 512
36 #define EFUSE_MAP_LEN 128
37 #define EFUSE_MAX_WORD_UNIT 4
39 #define EFUSE_INIT_MAP 0
40 #define EFUSE_MODIFY_MAP 1
42 #define PG_STATE_HEADER 0x01
43 #define PG_STATE_WORD_0 0x02
44 #define PG_STATE_WORD_1 0x04
45 #define PG_STATE_WORD_2 0x08
46 #define PG_STATE_WORD_3 0x10
47 #define PG_STATE_DATA 0x20
49 #define PG_SWBYTE_H 0x01
50 #define PG_SWBYTE_L 0x02
52 #define _POWERON_DELAY_
53 #define _PRE_EXECUTE_READ_CMD_
55 #define EFUSE_REPEAT_THRESHOLD_ 3
56 #define EFUSE_ERROE_HANDLE 1
113 u16 _size_byte,
u8 *pbuf);