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

From: Arnd Bergmann
Date: Mon May 02 2011 - 11:52:47 EST


On Monday 02 May 2011, Rob Herring wrote:
> The SCU is accessed before ioremap is up. The only reason it is accessed
> early is to determine the number of cores present.

The number of cores should definitely be available in the device tree,
normally by looking at the root interrupt controller.

> The L2 can certainly be ioremapped and probed via DT. How about
> something like this:
>
> l2cc {
> compatible = "arm,pl310-l2";
> reg = <0xfff12000 0x1000>;
> aux-value = <0>;
> aux-mask = <0xffffffff>;
> };

sounds good to me.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/