Re: [RFC PATCH v2 3/4] powerpc: refactor of_get_cpu_node to supportother architectures

From: Benjamin Herrenschmidt
Date: Sat Aug 17 2013 - 18:15:57 EST


On Sat, 2013-08-17 at 12:50 +0200, Tomasz Figa wrote:
> I wonder how would this handle uniprocessor ARM (pre-v7) cores, for
> which
> the updated bindings[1] define #address-cells = <0> and so no reg
> property.
>
> [1] - http://thread.gmane.org/gmane.linux.ports.arm.kernel/260795

Why did you do that in the binding ? That sounds like looking to create
problems ...

Traditionally, UP setups just used "0" as the "reg" property on other
architectures, why do differently ?

Ben.




--
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/