[PATCH] atags_to_fdt: take into account root's #size and #cells

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jun 19 07:11:17 EDT 2013


Dear Ben Dooks,

On Wed, 19 Jun 2013 11:57:51 +0100, Ben Dooks wrote:
> When creating entries for /memory, the root #size and #cells must be taken
> into account otherwise the node will not be recongnized when the OF code
> scans the nodes.
> 
> On some systems, the default is now to be 2 for each of #size and #cells
> which means that appending a kernrel and having it update from ATAGS does
> not work properly.
> ---
>  arch/arm/boot/compressed/atags_to_fdt.c |   22 +++++++++++++++++++++-
>  1 file changed, 21 insertions(+), 1 deletion(-)

Isn't this the same
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=faefd550c45d8d314e8f260f21565320355c947f
which is already in linux-next?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list