tools: socfpga: fix sfp_verify_header
authorAtsushi Nemoto <atsushi.nemoto@sord.co.jp>
Fri, 21 Sep 2018 00:19:13 +0000 (09:19 +0900)
committerMarek Vasut <marex@denx.de>
Wed, 3 Oct 2018 10:56:50 +0000 (12:56 +0200)
commit0ca8fd37ae86726747d5dd96f915967eceb64691
treeb2c6c24553c85a2af20c444ae620889a772d31e5
parent86d56a5da5b2d50879c1ea955c8e1eed5d27fa7d
tools: socfpga: fix sfp_verify_header

Fix sfp_verify_header to return correct version number.
This fixes "Not a sane SOCFPGA preloader" error message with v1 header.

Signed-off-by: Atsushi Nemoto <atsushi.nemoto@sord.co.jp>
tools/socfpgaimage.c