[PATCH] arm/dt: Fix babbage.dts memory node

Zach Pfeffer zach.pfeffer at linaro.org
Sun Apr 24 07:39:15 EST 2011


On 22 April 2011 01:25, Shawn Guo <shawn.guo at linaro.org> wrote:
> Without device_type property set as memory for the node, the generated
> dtb can still work when it gets passed to kernel by u-boot, since
> u-boot will fix it up.  But kernel will not boot due to that it fails
> to parse the memory node, when the dtb is appended to kernel image as
> it is.

I'm a little confused. The first part of the statement implies that
the kernel will boot without the device_type property, but the second
part of the statement says that the kernel won't boot.

> The patch adds a property device_type="memory" for memory node to fix
> the problem.
>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> ---
> It applies on branch devicetree/test.
>
>  arch/arm/boot/dts/babbage.dts |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts
> index 8f9b47c..4805168 100644
> --- a/arch/arm/boot/dts/babbage.dts
> +++ b/arch/arm/boot/dts/babbage.dts
> @@ -21,6 +21,7 @@
>        interrupt-parent = <&tzic>;
>
>        memory {
> +               device_type = "memory";
>                reg = <0x90000000 0x20000000>;
>        };
>
> --
> 1.7.4.1
>
>
> _______________________________________________
> linaro-kernel mailing list
> linaro-kernel at lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-kernel
>


More information about the devicetree-discuss mailing list