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 <[email protected]>
[dwg: Shortcut handling of invalid phandles]
Signed-off-by: David Gibson <[email protected]>
2 files changed