[U-Boot] [PATCH] rpi4: fix dram bank initialization

Jian-Hong Pan jian-hong at endlessm.com
Thu Nov 7 08:44:21 UTC 2019


Matthias Brugger <mbrugger at suse.com> 於 2019年11月7日 週四 下午4:02寫道:
>
> Hi Jiang,
>
> On 07/11/2019 08:00, Jian-Hong Pan wrote:
> > Raspberry Pi's memory address & size cells are defined in FDT's root
> > node. So, original fdtdec_decode_ram_size() having the cells in memory
> > node will get wrong size cells which misleads memory's reg parsing and
> > have wrong memory banks.
> > This patch provides new decode_ram_size() to parse the memory's reg in
> > FDT for Raspberry Pi 4.
> >
>
> Thanks for your patch. I think what you try to fix is already fixed in
> v2020.01-rc1 with the following commits:
> 7a3f15e718 ("dm: Fix default address cells return value")
> 8076fc298e ("libfdt: Allow #size-cells of 0")
> 0ba41ce1b7 ("libfdt: return correct value if #size-cells property is not present")
> ce2dae3a44 ("libfdt: fdt_address_cells() and fdt_size_cells()")

Okay!  Thanks for the information.  I will try the commits.
The v2 patch can be forgot.

Thank you
Jian-Hong Pan


More information about the U-Boot mailing list