From: Stephen Neuendorffer <stephen.neuendorffer@xilinx•com>
To: grant.likely@secretlab•ca, linuxppc-dev@ozlabs•org,
simekm2@fel•cvut.cz, jwilliams@itee•uq.edu.au
Subject: [PATCH 2/7] [POWERPC] Xilinx: update compatible list for interrupt controller
Date: Tue, 8 Jan 2008 11:35:04 -0800 [thread overview]
Message-ID: <20080108193520.5EE48B28052@mail70-dub.bigfish.com> (raw)
In-Reply-To: <1199820909-32341-2-git-send-email-stephen.neuendorffer@xilinx.com>
These values now match what is generated by the uboot BSP generator.
Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx•com>
---
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 c2f17cc..ba8eea2 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)
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);
--
1.5.3.4-dirty
next prev parent reply other threads:[~2008-01-08 19:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1199820909-32341-1-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` [PATCH 1/7] [POWERPC] Xilinx: Uartlite: Make console output actually work Stephen Neuendorffer
2008-01-09 11:20 ` Peter Korsgaard
[not found] ` <1199820909-32341-2-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` Stephen Neuendorffer [this message]
[not found] ` <1199820909-32341-3-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` [PATCH 3/7] [POWERPC] Xilinx: Update compatible to use values generated by BSP generator Stephen Neuendorffer
[not found] ` <1199820909-32341-4-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` [PATCH 4/7] [POWERPC] Xilinx: Add correct compatible list for device tree bus bindings Stephen Neuendorffer
2008-01-09 0:55 ` Stephen Rothwell
[not found] ` <1199820909-32341-5-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` [PATCH 5/7] [POWERPC] Xilinx: Update booting-without-of Stephen Neuendorffer
[not found] ` <1199820909-32341-6-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` [PATCH 6/7] [POWERPC] Xilinx: updated device tree compatibility to match uboot bsp generator Stephen Neuendorffer
[not found] ` <1199820909-32341-7-git-send-email-stephen.neuendorffer@xilinx.com>
2008-01-08 19:35 ` [PATCH 7/7] [POWERPC] Xilinx: Uartlite: Section type fixups Stephen Neuendorffer
2008-01-09 11:24 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080108193520.5EE48B28052@mail70-dub.bigfish.com \
--to=stephen.neuendorffer@xilinx$(echo .)com \
--cc=grant.likely@secretlab$(echo .)ca \
--cc=jwilliams@itee$(echo .)uq.edu.au \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=simekm2@fel$(echo .)cvut.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox