Skip to content
Commit 258f6fd7 authored by Leif Lindholm's avatar Leif Lindholm Committed by Matt Fleming
Browse files

efi: x86: make efi_lookup_mapped_addr() a common function



efi_lookup_mapped_addr() is a handy utility for other platforms than
x86. Move it from arch/x86 to drivers/firmware. Add memmap pointer
to global efi structure, and initialise it on x86.

Signed-off-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 272686bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment