22#define I2C_READ_CCODE_START 0x82
23#define I2C_READ_CCODE_END 0x81
24#define I2C_READ_BYTCNT 0x2
25#define I2C_WRITE_CCODE_START 0x87
26#define I2C_WRITE_BYTCNT 0x6
28#define RETIMER_VERSION 0x0104c
29#define RETIMER_ADDRPORT 0xfff0
30#define RETIMER_DATAPORT 0xfff4
32#define M88RT51632_TEMP_OFFSET 0x00
33#define M88RT51632_EEPROM_BASE_OFFSET 0x800000
37#define IMAGE_PACKAGE_SIZE 0x40
39#define M88RT51632_MUTEX_LOCK_MS 1000
bool m88rt51632_get_fw_version(I2C_MSG *msg, uint32_t *version)
Definition: m88rt51632.c:243
bool m88rt51632_get_vendor_id(I2C_MSG *msg)
Definition: m88rt51632.c:154
uint8_t m88rt51632_fw_update(I2C_MSG *msg, uint32_t offset, uint16_t msg_len, uint8_t *msg_buf, uint8_t flag)
Definition: m88rt51632.c:291
uint32_t version
Definition: pldm_base.h:1
uint32_t offset
Definition: pldm_firmware_update.h:0
Definition: hal_i2c.h:163