]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools: do not print error messages in verify_header() functions
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Thu, 15 Jan 2015 04:54:43 +0000 (02:54 -0200)
committerTom Rini <trini@ti.com>
Thu, 29 Jan 2015 18:38:41 +0000 (13:38 -0500)
commit2662179998e4f7c2c67f00527c3af5123816bd49
tree75bd759ba0e312efc687a0d8381a5650fba9c39f
parent39931f966adaeadd66dc7a905f7dddb93f66bac3
tools: do not print error messages in verify_header() functions

default_image.c and socfpgaimage.c are the only image modules that print error
messages during header verification. The verify_header() is used to query if a
given image file is processed by the image format. Thus, if the image format
can't handle the file, it must simply return an error. Otherwise we pollute the
screen with errors messages until we find the image format that handle a given
image file.

Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
tools/default_image.c
tools/socfpgaimage.c