]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Move to compiler based target architecture determination
authorAlexander Graf <agraf@suse.de>
Mon, 18 Jun 2018 15:23:08 +0000 (17:23 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:43 +0000 (14:57 +0200)
commitbc028919e4e3c1e69437ba0d93751ff099f6c6c9
tree3a25902b23d0526dde5d5a61b6fb811f9f0dea19
parentbeb077a2a8201c4b215d82e58c4d1d8ec8e48b58
efi_loader: Move to compiler based target architecture determination

Thanks to CONFIG_SANDBOX, we can not rely on config options to tell us
what CPU architecture we're running on.

The compiler however does know that, so let's just move the ifdefs over
to compiler based defines rather than kconfig based options.

Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_runtime.c