]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Add a function to check overlap
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:17 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit65f0bfe28acc5183d4bef9ebe9b31bdac0e89e6a
treecc2b284fd7a551a36b9354d08f640ce4b347ba19
parent3ac85bdc6a6cc5bc8a93ad91b330015ad8355cb2
bootm: Add a function to check overlap

Move this code into a function to reduce code size and make it easier
to understand. Drop the unnecessary 0x to help a little with code size.

Use this in bootm_find_images()

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