kwbimage: Fix check variable of checksum
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 10 May 2011 17:33:08 +0000 (17:33 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 21:53:41 +0000 (23:53 +0200)
commit3500e9aed6e13a988f4a5ef6503112fda1c4a7fc
tree84fd16b1a20bbe80a49b57989bdae6cc0ae0b376
parent201a017c2f3fad18e0d66c4fa1dc6ba6b8dd7fe7
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>
tools/kwbimage.c