diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-10-24 17:14:18 +0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-10-27 16:25:54 +0200 |
commit | bba26a5291c8343101e0296b0e478deb4c9b60b0 (patch) | |
tree | a2d29f005d4372041bf87715d3377ac31997dcb0 /srcpos.c | |
parent | c8f8194d76cc2dc6d499548431ff62d0ddeca68d (diff) | |
download | dtc-bba26a5291c8343101e0296b0e478deb4c9b60b0.zip dtc-bba26a5291c8343101e0296b0e478deb4c9b60b0.tar.gz dtc-bba26a5291c8343101e0296b0e478deb4c9b60b0.tar.bz2 |
livetree: avoid assertion of orphan phandles with overlays
Right now, check_interrupts_property fails with overlays, as the phandle
for the interrupt-parent can be orphan. Avoid this by allowing the orphan
node to pass the assert check.
The process_checks() call is also moved later during init sequence,
so that we can use the global variable generate_fixups to check if
we are compiling an overlay.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
[dwg: Shortcut handling of invalid phandles]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'srcpos.c')
0 files changed, 0 insertions, 0 deletions