]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Display the correct initcall pre-relocation values
authorSimon Glass <sjg@chromium.org>
Fri, 31 Jul 2015 15:31:38 +0000 (09:31 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:42:41 +0000 (08:42 -0600)
commitf134ed7df1167c6b2f0a62e3765abedced3feacc
treeeb8a8c3e567b858193ce7f3c4c754dda81c73a6e
parent9b2174984e58972e657292dc8ff08e8d58dfbf06
efi: Display the correct initcall pre-relocation values

With EFI the start address of U-Boot is specified differently. We could
consider just setting GD_FLG_RELOC and then setting up reloc_off. But that
flag has other implementations and we are not able to use U-Boot relocation
which this flag implies.

Instead, just add a special case for EFI.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/initcall.c