diff options
author | Mark Salter <msalter@redhat.com> | 2013-12-30 12:12:12 -0500 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-04-30 14:49:46 -0400 |
commit | 0302f71c0aa59571ac306f93068fbbfe65ea349b (patch) | |
tree | 0a34f2ec1ace904079f09accd4329ec36bf021f2 /arch/arm64/mm | |
parent | 719e284369d23c3feb02d02ad58b3a516df47806 (diff) |
efi: add helper function to get UEFI params from FDT
ARM and ARM64 architectures use the device tree to pass UEFI parameters
from stub to kernel. These parameters are things known to the stub but
not discoverable by the kernel after the stub calls ExitBootSerives().
There is a helper function in:
drivers/firmware/efi/fdt.c
which the stub uses to add the UEFI parameters to the device tree.
This patch adds a complimentary helper function which UEFI runtime
support may use to retrieve the parameters from the device tree.
If an architecture wants to use this helper, it should select
CONFIG_EFI_PARAMS_FROM_FDT.
Signed-off-by: Mark Salter <msalter@redhat.com>
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>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions