]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Move error printing out of boot_get_kernel()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:04 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commitb13e94886c088271c4fc87a821f4eee5dc4b2112
tree6fdad7b230a80a1e8550b515e515e4fcddd511ad
parentbdfa1b67850f5fc775ca00a78993ae1a8178ff1d
bootm: Move error printing out of boot_get_kernel()

The same error message is printed in two places. Move it out to the
caller so we can avoid passing in the command name. Leave the bootstage
handling where it is.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/bootm.c