arm64: efi: only attempt efi map setup if booting via EFI
authorLeif Lindholm <leif.lindholm@linaro.org>
Fri, 23 May 2014 13:16:56 +0000 (14:16 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 23 May 2014 14:29:43 +0000 (15:29 +0100)
Booting a kernel with CONFIG_EFI enabled on a non-EFI system caused
an oops with the current UEFI support code.
Add the required test to prevent this.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>

No differences found