Reverse the meaning of the fit_config_verify() return code
authorSimon Glass <sjg@chromium.org>
Thu, 12 Jun 2014 13:24:45 +0000 (07:24 -0600)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 15:18:58 +0000 (11:18 -0400)
commit12df2abe3e159d622701611766c085b860329f78
treec8e3881b3ea7cddd949552d48fd9c4771e9a74cf
parentba923cab0006838eb726e40207501ddf16eabd80
Reverse the meaning of the fit_config_verify() return code

It is more common to have 0 mean OK, and -ve mean error. Change this
function to work the same way to avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_fdt.c
common/image-fit.c
common/image-sig.c
tools/fit_check_sign.c