diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2015-09-15 01:06:31 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-10-07 11:43:15 (GMT) |
commit | 61903b759aa336d798da49d884467219796817ff (patch) | |
tree | 691cdc2a17301d1bb86d097d72bf624411b4d595 /tools/imximage.h | |
parent | 835c30e368e9661a6d99179d948f64efebf5d1de (diff) | |
download | u-boot-fsl-qoriq-61903b759aa336d798da49d884467219796817ff.tar.xz |
imximage: fix commands other than write_data
When CHECK_BITS_SET was added, they forgot to add
a new command table, and instead overwrote the
previous table.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
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 d41c74f..c7b9b5c 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; |