]> git.ipfire.org Git - people/ms/u-boot.git/commit
bootstage: Tidy up error return values
authorSimon Glass <sjg@chromium.org>
Mon, 22 May 2017 11:05:33 +0000 (05:05 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:08 +0000 (14:13 -0400)
commite003310a76211c2a9bb1939db4633830594c35ba
tree3ca4d256dddc928717e797e5d7433c04cd5dd097
parent63c5bf48d5e09317aa3444d2bd51f67d50adb715
bootstage: Tidy up error return values

We should return a proper error number instead of just -1. This helps the
caller to determine what when wrong. Update a few functions to fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootstage.c
include/bootstage.h