commit | 258f6fd738221766b512cd8c7120563b78d62829 | [log] [tgz] |
---|---|---|
author | Leif Lindholm <leif.lindholm@linaro.org> | Thu Sep 05 11:34:55 2013 +0100 |
committer | Matt Fleming <matt.fleming@intel.com> | Thu Sep 05 13:29:29 2013 +0100 |
tree | f2796181d313ef0cb9f0d516fd6a63e910d8b9a7 | |
parent | 272686bf46a34f86d270cf192f68769667792026 [diff] |
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: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com>