]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: arm: Omit arch specific config table matching array on arm64
authorArd Biesheuvel <ardb@kernel.org>
Tue, 16 Jun 2020 10:53:30 +0000 (12:53 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 17 Jun 2020 13:29:11 +0000 (15:29 +0200)
commitb57e5045484b3f75859978566ab979e1d4bce850
tree5268b74d497fc8522177518c3b134f7f787b9f98
parent5835ad02e7cf2acc30421b5b5d0c0fc2831276a2
efi/libstub: arm: Omit arch specific config table matching array on arm64

On arm64, the EFI stub is built into the kernel proper, and so the stub
can refer to its symbols directly. Therefore, the practice of using EFI
configuration tables to pass information between them is never needed,
so we can omit any code consuming such tables when building for arm64.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
drivers/firmware/efi/arm-init.c