efi: Add shared FDT related functions for ARM/ARM64
authorRoy Franz <roy.franz@linaro.org>
Thu, 9 Jan 2014 01:54:19 +0000 (17:54 -0800)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 30 Apr 2014 18:49:57 +0000 (19:49 +0100)
commit263b4a30bfdb0d756ae9c70c6ff2eef1eb951770
treeb9f25eca710bc6200e21e2ab8324fa6d25808586
parentd7ecbddf4caefbac1b99478dd2b679f83dfc2545
efi: Add shared FDT related functions for ARM/ARM64

Both ARM and ARM64 stubs will update the device tree that they pass to
the kernel.  In both cases they primarily need to add the same UEFI
related information, so the function can be shared.  Create a new FDT
related file for this to avoid use of architecture #ifdefs in
efi-stub-helper.c.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
[ Fixed memory node deletion code. ]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/fdt.c [new file with mode: 0644]
include/linux/efi.h