libfdt: include fdt_addresses.c
Upstream: c273a2bd8aa81b72e48736c3aa51f7ffeae39925
Link: 887436bdb7
commit c273a2bd8aa81b72e48736c3aa51f7ffeae39925
Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
Date: Mon Dec 9 12:03:44 2019 +0900
libfdt: include fdt_addresses.c
In the implementation of kexec_file_loaded-based kdump for arm64,
fdt_appendprop_addrrange() will be needed.
So include fdt_addresses.c in making libfdt.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
parent
c7b1305ab6
commit
ea31ebcf40
|
|
@ -220,7 +220,7 @@ KASAN_SANITIZE_stackdepot.o := n
|
|||
KCOV_INSTRUMENT_stackdepot.o := n
|
||||
|
||||
libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \
|
||||
fdt_empty_tree.o
|
||||
fdt_empty_tree.o fdt_addresses.o
|
||||
$(foreach file, $(libfdt_files), \
|
||||
$(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt))
|
||||
lib-$(CONFIG_LIBFDT) += $(libfdt_files)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
#include <linux/libfdt_env.h>
|
||||
#include "../scripts/dtc/libfdt/fdt_addresses.c"
|
||||
Loading…
Reference in New Issue