[PATCH] riscv: dts: fix memory size for the SiFive HiFive Unmatched

Andreas Schwab schwab at linux-m68k.org
Sun Jul 4 02:15:55 PDT 2021


On Jul 04 2021, Qiu Wenbo wrote:

> The production version of HiFive Unmatched have 16GB memory.
>
> Signed-off-by: Qiu Wenbo <qiuwenbo at kylinos.com.cn>
> ---
>  arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
> index b1c3c596578f..2e4ea84f27e7 100644
> --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
> +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
> @@ -24,7 +24,7 @@ cpus {
>  
>  	memory at 80000000 {
>  		device_type = "memory";
> -		reg = <0x0 0x80000000 0x2 0x00000000>;
> +		reg = <0x0 0x80000000 0x4 0x00000000>;
>  	};
>  
>  	soc {

https://github.com/sifive/meta-sifive/blob/2021.06/recipes-kernel/linux/files/0003-riscv-sifive-unmatched-update-for-16GB-rev3.patch
contains more changes.

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the linux-riscv mailing list