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>
This commit is contained in:
Simon Glass
2014-06-12 07:24:45 -06:00
committed by Tom Rini
parent ba923cab00
commit 12df2abe3e
4 changed files with 5 additions and 6 deletions

View File

@@ -467,6 +467,6 @@ int fit_config_verify_required_sigs(const void *fit, int conf_noffset,
int fit_config_verify(const void *fit, int conf_noffset)
{
return !fit_config_verify_required_sigs(fit, conf_noffset,
gd_fdt_blob());
return fit_config_verify_required_sigs(fit, conf_noffset,
gd_fdt_blob());
}