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)
committerMark Brown <broonie@linaro.org>
Thu, 24 Jul 2014 21:58:43 +0000 (22:58 +0100)
commite955cb169280bee2daed9ddf1a834bc8e72d9978
tree7ee1c0c8fd8eb8bc805bcad4f2ce03d197af48be
parent05b1bec982086a35aed6c77909bfc9c063dca2d6
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>
(cherry picked from commit 29e2435fd6d71e0136e2c2ff0433b7dbeeaaccfd)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/firmware/efi/efi.c