[POWERPC] Xilinx: update compatible list for interrupt controller
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 8 Jan 2008 19:35:04 +0000 (06:35 +1100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 9 Jan 2008 14:48:31 +0000 (07:48 -0700)
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>
arch/powerpc/sysdev/xilinx_intc.c

index c2f17cc43dfa4d69a40d131e53a92d2e3acd8688..ba8eea2bcce0460f833adf4a968be19a209c75d7 100644 (file)
@@ -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);