[PATCH v5 03/17] arm: dts: Add bootph-all for memory node

Bryan Brattlof bb at ti.com
Fri Dec 1 17:22:29 CET 2023


Hi Apurva!

On November 30, 2023 thus sayeth Apurva Nandan:
> memory node is used by fdtdec_setup_mem_size_base() and
> fdtdec_setup_memory_banksize() during dram_init(), so use
> bootph-all to enable for all stages.
> 
> Signed-off-by: Apurva Nandan <a-nandan at ti.com>
> ---
>  arch/arm/dts/k3-am69-sk.dts    | 1 +
>  arch/arm/dts/k3-j784s4-evm.dts | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am69-sk.dts b/arch/arm/dts/k3-am69-sk.dts
> index 9868c7049b..2d6e51001b 100644
> --- a/arch/arm/dts/k3-am69-sk.dts
> +++ b/arch/arm/dts/k3-am69-sk.dts
> @@ -36,6 +36,7 @@
>  		/* 32G RAM */
>  		reg = <0x00 0x80000000 0x00 0x80000000>,
>  		      <0x08 0x80000000 0x07 0x80000000>;
> +		bootph-all;
>  	};
>  
>  	reserved_memory: reserved-memory {
> diff --git a/arch/arm/dts/k3-j784s4-evm.dts b/arch/arm/dts/k3-j784s4-evm.dts
> index f1f4c8634a..c33eba5fec 100644
> --- a/arch/arm/dts/k3-j784s4-evm.dts
> +++ b/arch/arm/dts/k3-j784s4-evm.dts
> @@ -34,6 +34,7 @@
>  		/* 32G RAM */
>  		reg = <0x00 0x80000000 0x00 0x80000000>,
>  		      <0x08 0x80000000 0x07 0x80000000>;
> +		bootph-all;
>  	};

These edits to the board files should go into *-u-boot.dtsi It would 
make them much easier to track for the next dt sync :)

~Bryan


More information about the U-Boot mailing list