]> git.dujemihanovic.xyz Git - u-boot.git/commit
initcall: Factor out reloc_off calculation
authorSimon Glass <sjg@chromium.org>
Tue, 22 Aug 2023 03:16:50 +0000 (21:16 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 31 Aug 2023 17:16:54 +0000 (13:16 -0400)
commit7d2e23394ffbbc1d5b5f2479e0c52db52907cc40
treec4861f03167ecdcf1abd112825ba2e59bb678509
parente7f59dea880ea25078273473c575794dac08dca2
initcall: Factor out reloc_off calculation

Move this into a function and do it once, not each time around the loop.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/initcall.c