Skip to content
  • Kumar Gala's avatar
    Improve handling of PCI interrupt device tree fixup on MPC85xx CDS · 7600d47b
    Kumar Gala authored
    
    
    On the MPC85xx CDS we have two issues:
    
    1. The device tree fixup code did not check to see if the property we are
    trying to update is actually found.  Its possible that it would update
    random memory starting at 0.
    
    2. Newer Linux kernel's have moved the location of the PCI nodes to be
    sibilings of the soc node and not children.  The explicit PATH to the PCI
    node would not be found for these device trees.  Add the ability to handle
    both paths.  In the future we shouldn't handle such fixups by explicit path.
    
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    7600d47b