]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit843ef14bcdb1c693155c8220efeab75a5df6d7e3
treeb337175dd9ddbf3237b359647b97ec20c08b3af0
parent51d8f5ebcb8850a65715108793636ec5fb35c141
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