diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-27 01:58:30 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-06-03 17:19:17 +0200 |
commit | 4f7dc5f608c07f5bc169217bedac6883b0d998df (patch) | |
tree | 462d9e5d76b654737c733eef78b23c1e141ea9ad /configs/netspace_max_v2_defconfig | |
parent | 0e69bcfb27644f9e7c575aa3565bcff922c7dec2 (diff) |
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>
Diffstat (limited to 'configs/netspace_max_v2_defconfig')
0 files changed, 0 insertions, 0 deletions