]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Create a function to do manual relocation
authorSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 13:03:18 +0000 (07:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:26 +0000 (15:53 -0400)
commit2ac00c050582389e667374bccc5cc19b4fce80f5
treefd0e0dbb49a39e9b10cf179c1cb43b51d467f5f6
parent5d3248a688c2368be54aaa9407be30adfa994abc
image: Create a function to do manual relocation

Rather than adding an #ifdef and open-coding this calculation, add a
helper function to handle it. Use this in the image code.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/image.c
include/relocate.h