]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Use common of_kexec_alloc_and_setup_fdt()
authorRob Herring <robh@kernel.org>
Sun, 21 Feb 2021 17:49:24 +0000 (09:49 -0800)
committerRob Herring <robh@kernel.org>
Mon, 8 Mar 2021 19:06:29 +0000 (12:06 -0700)
commitdbe78685512e7ba492aa14368e9638226c80c8ad
treef71ca5b261c95b009ffa8f06b603e03bbb9830ac
parent5e447649450522a2614642ec717ff82d803d3604
powerpc: 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 powerpc.

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-8-nramas@linux.microsoft.com
arch/powerpc/include/asm/kexec.h
arch/powerpc/kexec/elf_64.c
arch/powerpc/kexec/file_load.c
arch/powerpc/kexec/file_load_64.c