platform_external_dtc/libfdt
Maxime Ripard 7a72d89d3f libfdt: overlay: Fix symbols and fixups nodes condition
Some base device tree might not have any __symbols__ nodes, since they
might not have any phandle at all.

Similarly, if an overlay doesn't use any base device tree phandles, its
__fixups__ node will be empty.

In such cases, we don't want to stop the phandle parsing, but rather just
ignore the error reported about the missing node.

If it's actually an issue for the overlay we're trying to apply on a given
base device tree, it will be caught later on, but we cannot make the
assumption that early in the application process.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-10-07 12:28:58 +11:00
..
fdt.c libfdt: Fix undefined behaviour in fdt_offset_ptr() 2015-12-17 17:19:11 +11:00
fdt.h Added license header to dtc/libfdt/fdt.h and libfdt_env.h 2013-02-18 08:03:50 -06:00
fdt_addresses.c libfdt: Add helpers to read #address-cells and #size-cells 2014-05-12 16:01:09 +10:00
fdt_empty_tree.c libfdt: Add helper function to create a trivial, empty tree 2012-06-03 09:16:17 -05:00
fdt_overlay.c libfdt: overlay: Fix symbols and fixups nodes condition 2016-10-07 12:28:58 +11:00
fdt_ro.c libfdt: Add max phandle retrieval function 2016-07-28 15:29:16 +10:00
fdt_rw.c libfdt: simplify fdt_del_mem_rsv() 2016-08-22 06:53:54 -04:00
fdt_strerror.c libfdt: Add BADPHANDLE error string 2016-10-07 12:28:58 +11:00
fdt_sw.c libfdt: Add function to resize the buffer for a sequential write tree 2013-10-26 00:17:37 +11:00
fdt_wip.c libfdt: Add fdt_setprop_inplace_namelen_partial 2016-08-01 13:34:39 +10:00
libfdt.h libfdt: Add overlay application function 2016-10-06 19:22:41 +11:00
libfdt_env.h libfdt: Add overlay application function 2016-10-06 19:22:41 +11:00
libfdt_internal.h libfdt: avoid shadowing "err" in FDT_CHECK_HEADER 2014-01-25 15:11:20 +11:00
Makefile.libfdt libfdt: Add overlay application function 2016-10-06 19:22:41 +11:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
version.lds libfdt: Add some missing symbols to version.lds 2015-12-01 12:55:21 +11:00