u-boot-brain/arch
Heinrich Schuchardt 4f7dc5f608 efi_loader: allow compiling with clang
On ARM systems gd is stored in register r9 or x18. When compiling with
clang gd is defined as a macro calling function gd_ptr(). So we can not
make assignments to gd.

In the UEFI sub-system we need to save gd when leaving to UEFI binaries and
have to restore gd when reentering U-Boot.

Define a new function set_gd() for setting gd and use it in the UEFI
sub-system.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Tom Rini <trini@konsulko.com>
2020-06-03 17:19:17 +02:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm efi_loader: allow compiling with clang 2020-06-03 17:19:17 +02:00
m68k common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
microblaze common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nios2 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
powerpc mpc83xx, abb: remove suvd3 board 2020-05-19 14:01:47 -04:00
riscv riscv: Move all SMP related SBI calls to SBI_v01 2020-05-26 15:50:08 +08:00
sandbox common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sh sh: Enable ffunction-sections and fdata-sections 2020-05-20 13:20:25 +02:00
x86 x86: quark: acpi: Replace _ADR() by _UID() in description of PCI host bridge 2020-06-02 09:16:13 +08:00
xtensa common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00