Re: [RFC PATCH] ARM: dts: stm32: fix SDRAM size on stm32f469-disco

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 4, 2023, at 20:05, Dario Binacchi wrote:
> The board is equipped with a 128Mbit SDRAM.
> 128Mbit = 16 Mbyte = 16,777,216 bytes = 0x1000000.
>
> Fixes: 626e7ea00215 ("ARM: DT: stm32: move dma translation to board files")
> Link: https://www.st.com/en/evaluation-tools/32f469idiscovery.html
> Signed-off-by: Dario Binacchi <dario.binacchi@xxxxxxxxxxxxxxxxxxxx>
>
> ---
>
>  arch/arm/boot/dts/st/stm32f469-disco.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/st/stm32f469-disco.dts 
> b/arch/arm/boot/dts/st/stm32f469-disco.dts
> index cbbd521bf010..f173a5892b7d 100644
> --- a/arch/arm/boot/dts/st/stm32f469-disco.dts
> +++ b/arch/arm/boot/dts/st/stm32f469-disco.dts
> @@ -84,7 +84,7 @@ vdd_dsi: vdd-dsi {
>  	};
> 
>  	soc {
> -		dma-ranges = <0xc0000000 0x0 0x10000000>;
> +		dma-ranges = <0xc0000000 0x0 0x1000000>;
>  	};

The dma-ranges should be independent of the installed
memory, they usually reflect the addressing capabilities
of the bus, so this patch should not be needed.

      Arnd



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux