diff options
author | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2008-01-08 14:35:04 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-01-09 09:48:31 -0500 |
commit | 021a607c2fe59cc5c37fd67813b4a61fd2f7e61b (patch) | |
tree | da63cc040bd9b77b18a659b790b7dd99a3cf99f4 /arch | |
parent | 4f43143f9fbbb679c38d2ff99e44d3aaa00d0fe1 (diff) |
[POWERPC] Xilinx: update compatible list for interrupt controller
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/xilinx_intc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c index c2f17cc43dfa..ba8eea2bcce0 100644 --- a/arch/powerpc/sysdev/xilinx_intc.c +++ b/arch/powerpc/sysdev/xilinx_intc.c | |||
@@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void) | |||
135 | struct device_node *np; | 135 | struct device_node *np; |
136 | 136 | ||
137 | /* find top level interrupt controller */ | 137 | /* find top level interrupt controller */ |
138 | for_each_compatible_node(np, NULL, "xilinx,intc") { | 138 | for_each_compatible_node(np, NULL, "xlnx,opb-intc-1.00.c") { |
139 | if (!of_get_property(np, "interrupts", NULL)) | 139 | if (!of_get_property(np, "interrupts", NULL)) |
140 | break; | 140 | break; |
141 | } | 141 | } |
142 | if (!np) { | ||
143 | for_each_compatible_node(np, NULL, "xlnx,xps-intc-1.00.a") { | ||
144 | if (!of_get_property(np, "interrupts", NULL)) | ||
145 | break; | ||
146 | } | ||
147 | } | ||
142 | 148 | ||
143 | /* xilinx interrupt controller needs to be top level */ | 149 | /* xilinx interrupt controller needs to be top level */ |
144 | BUG_ON(!np); | 150 | BUG_ON(!np); |