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

Geert Uytterhoeven geert at linux-m68k.org
Sun Jul 4 03:27:25 PDT 2021


Hi Qiu,

On Sun, Jul 4, 2021 at 10:37 AM Qiu Wenbo <qiuwenbo at kylinos.com.cn> wrote:
> The production version of HiFive Unmatched have 16GB memory.
>
> Signed-off-by: Qiu Wenbo <qiuwenbo at kylinos.com.cn>

Thanks for your patch!

> --- 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 {

The /memory node is updated by U-Boot before passing it to the kernel
anyway, right?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-riscv mailing list