diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/socfpgaimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/socfpgaimage.c b/tools/socfpgaimage.c index 390c9bb402..72d8b96f54 100644 --- a/tools/socfpgaimage.c +++ b/tools/socfpgaimage.c @@ -191,6 +191,7 @@ static int sfp_verify_header(const uint8_t *buf, uint8_t *ver) if (hdr_csum != sfp_csum) return -EINVAL; + *ver = header_v0.version; return img_len; } |