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

johnlinn at comcast.net johnlinn at comcast.net
Mon May 2 17:50:11 EDT 2011

> On Monday 02 May 2011 23:27:04 johnlinn at comcast.net wrote:
> > Yes we could explain hard coded numbers.  Ideally GIC driver would
> support
> > device tree it seems like to me.
> > 
> > Seems like the GIC driver could remap it's own memory but maybe that
> won't
> > 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

More information about the linux-arm-kernel mailing list