[PATCH v7 13/17] arm: dts: Add bootph-all for memory node

Nishanth Menon nm at ti.com
Wed Jan 3 18:52:21 CET 2024


On 00:45-20231220, Apurva Nandan wrote:
> 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-u-boot.dtsi    | 6 ++++++
>  arch/arm/dts/k3-j784s4-evm-u-boot.dtsi | 6 ++++++
>  2 files changed, 12 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am69-sk-u-boot.dtsi b/arch/arm/dts/k3-am69-sk-u-boot.dtsi
> index d1623b6bbe..6d848ba6bc 100644
> --- a/arch/arm/dts/k3-am69-sk-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am69-sk-u-boot.dtsi
> @@ -5,6 +5,12 @@
>  
>  #include "k3-j784s4-binman.dtsi"
>  
> +/ {
> +	memory at 80000000 {
> +		bootph-all;
> +	};
> +};
> +
>  &mcu_udmap {
>  	reg =   <0x0 0x285c0000 0x0 0x100>,
>  		<0x0 0x284c0000 0x0 0x4000>,
> diff --git a/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi b/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
> index 74de8a4db8..ac749782bf 100644
> --- a/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
> +++ b/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
> @@ -5,6 +5,12 @@
>  
>  #include "k3-j784s4-binman.dtsi"
>  
> +/ {
> +	memory at 80000000 {
> +		bootph-all;
> +	};
> +};
> +
>  &mcu_udmap {
>  	reg =   <0x0 0x285c0000 0x0 0x100>,
>  		<0x0 0x284c0000 0x0 0x4000>,

Is there a patch submitted for upstream kernel?

This should be part of your patch for board.dts instead of a
patch that fixes multiple board.dts after introducing the dts in the
same series.

So squash this change to relevant patches please and please refer to
upstream kernel patch so that we can drop this later on.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


More information about the U-Boot mailing list