[PATCH v2 0/5] Make commonly useful UEFI functions common

Leif Lindholm
2013-08-02T16:50:33Z

This set breaks out some common code from x86/ia64 EFI support
code and puts it into drivers/firmware/efi.

First it takes the definition of the global "efi" data structure
and moves it into global efi.c. Then it implements a common version
of efi_config_init().

Secondly it breaks the efi_lookup_mapped_addr() function out of x86
and places it in global efi.c, for shared use with future ARM
patches.

IA64 code compile tested only.

Leif Lindholm (5):
ia64: add early_memremap() alias for early_ioremap()
efi: provide a generic efi_config_init()
efi: x86: use common code for (U)EFI configuration scanning
efi: ia64: use common code for (U)EFI configuration scanning
efi: x86: make efi_lookup_mapped_addr() a common function

arch/ia64/include/asm/io.h | 1 +
arch/ia64/kernel/efi.c | 54 ++++-------------
arch/x86/platform/efi/efi.c | 126 ++++-----------------------------------
drivers/firmware/efi/efi.c | 138 +++++++++++++++++++++++++++++++++++++++++++
include/linux/efi.h | 8 +++
5 files changed, 168 insertions(+), 159 deletions(-)

--
1.7.10.4