提交 021a607c 编写于 作者: S Stephen Neuendorffer 提交者: Grant Likely

[POWERPC] Xilinx: update compatible list for interrupt controller

These values now match what is generated by the uboot BSP generator.
Signed-off-by: NStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 4f43143f
...@@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void) ...@@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void)
struct device_node *np; struct device_node *np;
/* find top level interrupt controller */ /* 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)) if (!of_get_property(np, "interrupts", NULL))
break; 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 */ /* xilinx interrupt controller needs to be top level */
BUG_ON(!np); BUG_ON(!np);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册