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)
commit62956be8f95b93e9f91ffe2e5aa9c0e411af5a14
tree5268b74d497fc8522177518c3b134f7f787b9f98
parent41d90b0c1108d1e46c48cf79964636c553844f4c
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