aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini2018-10-05 21:17:21 -0400
committerTom Rini2018-10-05 21:17:21 -0400
commit1b484736ce47cb220cb523f00ebe77025cab219f (patch)
treee82ad573068ff2f6be390bacfc2d43c6ed6f8218 /tools
parenta4b38fca7e83f0556c0afc96492741e4464444df (diff)
parent8be11fb3c1d8d89ff6b60bd3937efcea2dc9c91d (diff)
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'tools')
-rw-r--r--tools/socfpgaimage.c1
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;
}