scripts/kwboot: fix image check for v0 images
Since kwboot checks the contents of the file to send it only works for
v1 images (or with -f). Extend the check to know about v0 images, too.

Fixes: 39ebd7e73bec ("kwboot: do a filetype check before sending the image")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9afdc61 commit ec4dca17bb6a0029466de80754a20fec13d0e111
@Uwe Kleine-König Uwe Kleine-König authored on 1 Jun 2018
Sascha Hauer committed on 8 Jun 2018
Showing 1 changed file
View
scripts/kwboot.c