diff options
Diffstat (limited to 'tools/imximage.h')
-rw-r--r-- | tools/imximage.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/imximage.h b/tools/imximage.h index d41c74f327..c7b9b5c8cc 100644 --- a/tools/imximage.h +++ b/tools/imximage.h @@ -133,10 +133,14 @@ typedef struct { uint8_t param; } __attribute__((packed)) write_dcd_command_t; -typedef struct { - ivt_header_t header; +struct dcd_v2_cmd { write_dcd_command_t write_dcd_command; dcd_addr_data_t addr_data[MAX_HW_CFG_SIZE_V2]; +}; + +typedef struct { + ivt_header_t header; + struct dcd_v2_cmd dcd_cmd; uint32_t padding[1]; /* end up on an 8-byte boundary */ } dcd_v2_t; |