]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Tidy up genimg_get_kernel_addr_fit()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:04:57 +0000 (14:04 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit530cc4797faebbab2284fd3bddf37f975a3f40f7
tree0d869e313da5ac4420fbdbb17d01d3fc491417ac
parent7f3b1ee3b2633ce83626cf3aa95ef8d71bca563e
image: Tidy up genimg_get_kernel_addr_fit()

This function does not modify its first argument, so mark it const. Also
move the comments to the header file and expand them to provide more
useful information.

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