Thread (6 messages) flat view 6 messages, 4 authors, 2011-05-03

[RFC PATCH 4/4] ARM: Xilinx: Adding Xilinx board support

From: johnlinn at comcast.net <hidden>
Date: 2011-05-02 21:50:18
Also in: linux-devicetree, lkml

On Monday 02 May 2011 23:27:04 johnlinn at comcast.net wrote:
quoted
Yes we could explain hard coded numbers.  Ideally GIC driver would
support
quoted
device tree it seems like to me.
quoted
Seems like the GIC driver could remap it's own memory but maybe that
won't
quoted
work across all platforms and then the platform would need to do
it.

Why not just add a stub in the xilinx platform for now that remaps
the
memory using ioremap and calls the regular GIC initialization?
Seems easy enough assuming we don't need the SCU early for the core count
and can get that from the device tree.

Since the SCU and part of the GIC end up in the same 4K page they need to be
together (unless I'm thinking about that wrong).

SCU 0xF8000000
GIC_CPU 0xF8000100
GIC_DIS 0xF8001000

-- John
That function can then easily be moved to common code when another
platform uses it.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help