]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bootm: Reduce arguments to boot_get_kernel()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:04:58 +0000 (14:04 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit820110c4532ae45133a338c3c0b103494acba4c4
tree51c421a768053fef0993303a698a0c52d537cb18
parent530cc4797faebbab2284fd3bddf37f975a3f40f7
bootm: Reduce arguments to boot_get_kernel()

This function only uses one argument and just needs to know the name of
the command which called it. Adjust the function to use only what it
needs. This will make it easier to call from a non-command context.

Tidy up the function comment while we are here.

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