bootm: Update fixup_silent_linux() to return an error
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 17:33:39 +0000 (10:33 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 4 Dec 2020 21:09:26 +0000 (16:09 -0500)
commit4ae42643d0d71dbb5af45d19fa05b7a6807150c0
tree4289053456d189df47bd16c27fd047769e0f9b3c
parentf158ba15ee0f9f756193b60420adfdc0a9c1eb96
bootm: Update fixup_silent_linux() to return an error

At present this function fails silently on error. Update it to produce
an error code. Report this error to the user and abort the boot, since it
likely will prevent a successful start.

No tests are added at this stage, since additional refactoring is taking
place in subsequent patches.

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