]>
Commit | Line | Data |
---|---|---|
8fc8598e JC |
1 | #ifndef __INC_FIRMWARE_H |
2 | #define __INC_FIRMWARE_H | |
3 | ||
4 | #define RTL8190_CPU_START_OFFSET 0x80 | |
c938699e BAO |
5 | #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) \ |
6 | (4*(v/4) - 8 - USB_HWDESC_HEADER_LEN) | |
8fc8598e | 7 | |
3286ae5f | 8 | typedef enum _firmware_init_step { |
8fc8598e JC |
9 | FW_INIT_STEP0_BOOT = 0, |
10 | FW_INIT_STEP1_MAIN = 1, | |
11 | FW_INIT_STEP2_DATA = 2, | |
3286ae5f | 12 | } firmware_init_step_e; |
8fc8598e | 13 | |
3286ae5f | 14 | typedef enum _opt_rst_type { |
8fc8598e JC |
15 | OPT_SYSTEM_RESET = 0, |
16 | OPT_FIRMWARE_RESET = 1, | |
3286ae5f | 17 | } opt_rst_type_e; |
8fc8598e | 18 | |
8fc8598e | 19 | #endif |