[PATCH v2 1/3] ARM: dts: imx: Pass empty memory size on board dts

Fabio Estevam festevam at gmail.com
Wed Jan 24 04:26:34 PST 2018


Oi Marco,

On Wed, Jan 24, 2018 at 10:21 AM, Marco Franchi <marcofrk at gmail.com> wrote:
> In preparation for removing 'reg = <0 0>;' from the dtsi SoC files, pass
> 'reg = <0 0 >;' to the dts/dtsi board files that do not pass the memory
> size.
>
> Signed-off-by: Marco Franchi <marco.franchi at nxp.com>
> ---
> Change since v1:
> -none

Quando for enviar pra lista retire isso e remova o v2 do Subject.

>  arch/arm/boot/dts/imx51-zii-rdu1.dts         | 5 +++++
>  arch/arm/boot/dts/imx53-tx53.dtsi            | 5 +++++
>  arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 5 +++++
>  arch/arm/boot/dts/imx6dl-dfi-fs700-m60.dts   | 5 +++++
>  arch/arm/boot/dts/imx6dl-ts4900.dts          | 5 +++++
>  arch/arm/boot/dts/imx6dl-ts7970.dts          | 5 +++++
>  arch/arm/boot/dts/imx6q-dfi-fs700-m60.dts    | 5 +++++
>  arch/arm/boot/dts/imx6q-h100.dts             | 5 +++++
>  arch/arm/boot/dts/imx6q-novena.dts           | 5 +++++
>  arch/arm/boot/dts/imx6q-ts4900.dts           | 5 +++++
>  arch/arm/boot/dts/imx6q-ts7970.dts           | 5 +++++
>  arch/arm/boot/dts/imx6q-zii-rdu2.dts         | 5 +++++
>  arch/arm/boot/dts/imx6qdl-apalis.dtsi        | 5 +++++
>  arch/arm/boot/dts/imx6qdl-cubox-i.dtsi       | 5 +++++
>  arch/arm/boot/dts/imx6qdl-hummingboard.dtsi  | 5 +++++
>  arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 5 +++++
>  arch/arm/boot/dts/imx6qp-zii-rdu2.dts        | 5 +++++
>  17 files changed, 85 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
> index 5306b78..f20fdd9 100644
> --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
> +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
> @@ -51,6 +51,11 @@
>                 stdout-path = &uart1;
>         };
>
> +       /* Will be filled by the bootloader */
> +       memory at 0 {

Favor remover o @0.

Eu sei que isso vai dar warning, mas temos que remover o @0, pois 0
nao eh o endereco real.

O bootloader vai preencher com o endereco correto.

Depois cada board maintainer pode passar o tamanho minimo (no caso de
varias placas forem suportadas) pra resolver esses warnings.

Valeu



More information about the linux-arm-kernel mailing list