]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:00:53 +0000 (08:00 +0200)
commitb841f1086a00fd32351f4d2813760b6541685971
treeaaa93cde7e6dce5d55c997a5a08d403625120b67
parent322c9cedbe2fedc3b2a3aa08634061e79bd4c773
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