Skip to content

Commit

Permalink
[POWERPC] Xilinx: update compatible list for interrupt controller
Browse files Browse the repository at this point in the history
These values now match what is generated by the uboot BSP generator.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Stephen Neuendorffer authored and Grant Likely committed Jan 9, 2008
1 parent 4f43143 commit 021a607
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arch/powerpc/sysdev/xilinx_intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void)
struct device_node *np;

/* find top level interrupt controller */
for_each_compatible_node(np, NULL, "xilinx,intc") {
for_each_compatible_node(np, NULL, "xlnx,opb-intc-1.00.c") {
if (!of_get_property(np, "interrupts", NULL))
break;
}
if (!np) {
for_each_compatible_node(np, NULL, "xlnx,xps-intc-1.00.a") {
if (!of_get_property(np, "interrupts", NULL))
break;
}
}

/* xilinx interrupt controller needs to be top level */
BUG_ON(!np);
Expand Down

0 comments on commit 021a607

Please sign in to comment.