Re: [PATCH v16 10/12] arm64: Use OF alloc and free functions for FDT

From: Will Deacon
Date: Thu Feb 04 2021 - 13:11:36 EST


On Thu, Feb 04, 2021 at 08:41:33AM -0800, Lakshmi Ramasubramanian wrote:
> of_alloc_and_init_fdt() and of_free_fdt() have been defined in
> drivers/of/kexec.c to allocate and free memory for FDT.
>
> Use of_alloc_and_init_fdt() and of_free_fdt() to allocate and
> initialize the FDT, and to free the FDT respectively.
>
> Signed-off-by: Lakshmi Ramasubramanian <nramas@xxxxxxxxxxxxxxxxxxx>
> Suggested-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> arch/arm64/kernel/machine_kexec_file.c | 37 +++++++-------------------
> 1 file changed, 10 insertions(+), 27 deletions(-)

Acked-by: Will Deacon <will@xxxxxxxxxx>

Will