]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Adjust boot_get_kernel() to return an error
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:00 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit7721e71f031894da02a8f7a1f419891582b1747c
tree599c2b2f02d3c4802ee4951a120962d814a7b65f
parent429acb38dbf359a84666bdc00043e1f24df4df9d
bootm: Adjust boot_get_kernel() to return an error

This function obtains lots of error codes and then throws them away.
Update it to return the error, moving the image pointer to an
argument.

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