kwbimage: Fix check variable of checksum 01/153001/2
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 10 May 2011 17:33:08 +0000 (17:33 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 28 Sep 2017 04:02:43 +0000 (13:02 +0900)
commitbf933f6b06da24d4ff5b1957d4b7a63d0fb85f41
treebfbfb4e58c14bfa4a23b1b35a3222e262b8d7386
parentc3ae759f4b6276cbf2730042ff5b19fea783140e
kwbimage: Fix check variable of checksum

calc_hdrcsum two times are checked. checksumi of exthdr is not checked.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Prafulla Wadaskar <prafulla@marvell.com>
[jh80.chung: cherry-pick from u-boot mainline to remove build warning]
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I62d00303ad285eb1feed14dd0236a1c1a4940808
tools/kwbimage.c