arm64: Use common of_kexec_alloc_and_setup_fdt()
authorRob Herring <robh@kernel.org>
Sun, 21 Feb 2021 17:49:23 +0000 (09:49 -0800)
committerRob Herring <robh@kernel.org>
Mon, 8 Mar 2021 19:06:29 +0000 (12:06 -0700)
commitac10be5cdbfa852139658d52c2f1c608782ce992
treeb337175dd9ddbf3237b359647b97ec20c08b3af0
parentb30be4dc733e5067b56def359b0823f1e54ded8c
arm64: Use common of_kexec_alloc_and_setup_fdt()

The code for setting up the /chosen node in the device tree
and updating the memory reservation for the next kernel has been
moved to of_kexec_alloc_and_setup_fdt() defined in "drivers/of/kexec.c".

Use the common of_kexec_alloc_and_setup_fdt() to setup the device tree
and update the memory reservation for kexec for arm64.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210221174930.27324-7-nramas@linux.microsoft.com
arch/arm64/kernel/machine_kexec_file.c