Go to the documentation of this file.
10 #include <linux/wait.h>
18 #define CMD_TYPE_REQUEST 0xF00DFACE
19 #define CMD_TYPE_DATA 0xBEADC0DE
20 #define CMD_TYPE_INDICATION 0xBEEFFACE
22 #define BOOT_CMD_FW_BY_USB 0x01
23 #define BOOT_CMD_FW_IN_EEPROM 0x02
24 #define BOOT_CMD_UPDATE_BOOT2 0x03
25 #define BOOT_CMD_UPDATE_FW 0x04
26 #define BOOT_CMD_MAGIC_NUMBER 0x4C56524D
34 #define BOOT_CMD_RESP_OK 0x0001
35 #define BOOT_CMD_RESP_FAIL 0x0000
46 struct usb_device *
udev;
83 #define FW_MAX_DATA_BLK_SIZE 600
97 #define FW_HAS_DATA_TO_RECV 0x00000001
98 #define FW_HAS_LAST_BLOCK 0x00000004