efi: Move UGA and PROP table handling to x86 code
authorArd Biesheuvel <ardb@kernel.org>
Sun, 19 Jan 2020 15:17:59 +0000 (16:17 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commitfd506e0cf9fd4306aa0eb57cbff5f00514da8179
tree68c7ada62af893ea7a45b99bccee7cb510d9efd2
parent120540f230d5d2d32846adc0156b58961c8c59d1
efi: Move UGA and PROP table handling to x86 code

The UGA table is x86 specific (its handling was introduced when the
EFI support code was modified to accommodate IA32), so there is no
need to handle it in generic code.

The EFI properties table is not strictly x86 specific, but it was
deprecated almost immediately after having been introduced, due to
implementation difficulties. Only x86 takes it into account today,
and this is not going to change, so make this table x86 only as well.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c
include/linux/efi.h