1 #ifndef __INC_FIRMWARE_H
2 #define __INC_FIRMWARE_H
3 
4 #define RTL8190_CPU_START_OFFSET	0x80
5 /* TODO: this definition is TBD */
6 //#define USB_HWDESC_HEADER_LEN	0
7 
8 /* It should be double word alignment */
9 //#if DEV_BUS_TYPE==PCI_INTERFACE
10 //#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v)	4*(v/4) - 8
11 //#else
12 #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v)	(4*(v/4) - 8 - USB_HWDESC_HEADER_LEN)
13 //#endif
14 
15 typedef enum _firmware_init_step{
16 	FW_INIT_STEP0_BOOT = 0,
17 	FW_INIT_STEP1_MAIN = 1,
18 	FW_INIT_STEP2_DATA = 2,
19 }firmware_init_step_e;
20 
21 typedef enum _opt_rst_type{
22 	OPT_SYSTEM_RESET = 0,
23 	OPT_FIRMWARE_RESET = 1,
24 }opt_rst_type_e;
25 
26 #endif
27 
28