Re: [PATCH] ARM: dts: omap3-evm: Fix missing NAND partition information

Ladislav Michl
2017-12-12T06:39:36Z

On Mon, Dec 11, 2017 at 10:12:13PM -0600, Derald D. Woods wrote:
> The partition information was omitted during the conversion to OMAP3430
> specific data.

That could be intentional...

> The data added by this commit is consistent with current U-Boot default
> definitions.

What about passing U-Boot partitions information to kernel instead?

> Fixes: 62fe1d337461 ("ARM: dts: omap3-evm: Add OMAP3530 specific device
> tree processor data")
>
> Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
> ---
> arch/arm/boot/dts/omap3-evm.dts | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap3-evm.dts b/arch/arm/boot/dts/omap3-evm.dts
> index 21a3b88aef0c..1220deb47aae 100644
> --- a/arch/arm/boot/dts/omap3-evm.dts
> +++ b/arch/arm/boot/dts/omap3-evm.dts
> @@ -85,5 +85,30 @@
>
> #address-cells = <1>;
> #size-cells = <1>;
> +
> + partition@0 {
> + label = "spl";
> + reg = <0 0x80000>;
> + };
> + partition@80000 {
> + label = "u-boot";
> + reg = <0x80000 0x1c0000>;
> + };
> + partition@240000 {
> + label = "dtb";
> + reg = <0x240000 0x20000>;
> + };
> + partition@260000 {
> + label = "u-boot-env";
> + reg = <0x260000 0x20000>;
> + };
> + partition@280000 {
> + label = "kernel";
> + reg = <0x280000 0x600000>;
> + };
> + partition@880000 {
> + label = "rootfs";
> + reg = <0x880000 0>;
> + };
> };
> };
> --
> 2.15.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html