mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-13 09:00:39 +09:00
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: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
(cherry picked from commit 258f6fd738)
Signed-off-by: Mark Brown <broonie@linaro.org>