b7e380fc7b90f697956cde348cb1157bc0cf3853
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / build / utility / patch_gen / patch.h
1 #include "dt_defs.h"
2
3 #define MAX_NUM_OF_PATCH        16
4
5 struct rom_patch_st {
6 #if 0
7     uint16_t len;
8     uint16_t crc16;
9 #else
10     uint16_t crc16;
11     uint16_t len;
12 #endif
13     uint32_t ld_addr;
14     uint32_t fun_addr;  // entry address of the patch code
15     uint8_t *fun;
16 };