]> git.baikalelectronics.ru Git - kernel.git/commit
efi: fdt: Do not report an error during boot if UEFI is not available
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 8 Jul 2014 15:54:18 +0000 (16:54 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 10 Jul 2014 10:02:48 +0000 (11:02 +0100)
commit607286a752c0e3b379d051651b07eea7cf3a1f6f
treed57b8df10ae8e690c8823879a7299615e1f9f89b
parentfd19d4b8f755b0d80f6608ae5575d21eb1478ffe
efi: fdt: Do not report an error during boot if UEFI is not available

Currently, fdt_find_uefi_params() reports an error if no EFI parameters
are found in the DT. This is however a valid case for non-UEFI kernel
booting. This patch checks changes the error reporting to a
pr_info("UEFI not found") when no EFI parameters are found in the DT.

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