]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit03337e82e20280d78689f2e7c40585c6d6326a31
tree4289053456d189df47bd16c27fd047769e0f9b3c
parentcc295c922d5e4987c955dd72e64df1c4c4af1dff
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