diff options
author | Tom Rini | 2018-10-05 21:17:21 -0400 |
---|---|---|
committer | Tom Rini | 2018-10-05 21:17:21 -0400 |
commit | 1b484736ce47cb220cb523f00ebe77025cab219f (patch) | |
tree | e82ad573068ff2f6be390bacfc2d43c6ed6f8218 /tools | |
parent | a4b38fca7e83f0556c0afc96492741e4464444df (diff) | |
parent | 8be11fb3c1d8d89ff6b60bd3937efcea2dc9c91d (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
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 390c9bb4025..72d8b96f541 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; } |