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

Arnd Bergmann
2011-05-02T21:40:44Z

On Monday 02 May 2011 23:27:04 johnlinn@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?

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

Arnd