efi/arm64: Avoid EFI_ERROR as a generic return code
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 2 Jul 2014 12:54:39 +0000 (14:54 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 7 Jul 2014 19:29:46 +0000 (20:29 +0100)
commit6091c9c447370c4717ec9975813c874af490eb36
tree81792bb0883779d8eabf4939fa4f4603431e89f7
parente15dd4949a937d8e8482f37f8fe493357417f203
efi/arm64: Avoid EFI_ERROR as a generic return code

As EFI_ERROR is not a UEFI result code but a local invention only
intended to allow get_dram_base() to signal failure, we should not use
it elsewhere.

Replace with EFI_LOAD_ERROR.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/arm64/kernel/efi-stub.c