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)
commit29e2435fd6d71e0136e2c2ff0433b7dbeeaaccfd
treed57b8df10ae8e690c8823879a7299615e1f9f89b
parenta55c072dfe520f8fa03cf11b07b9268a8a17820a
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