[PATCH v7 11/23] core: remap: fix regmap_init_mem_plat() reg size handeling

Simon Glass sjg at chromium.org
Mon Mar 13 04:10:29 CET 2023


Hi Johan,

On Sun, 12 Mar 2023 at 06:21, Johan Jonker <jbx6244 at gmail.com> wrote:
>
>
>
> On 3/11/23 02:37, Simon Glass wrote:
> > Hi Johan,
> >
> > On Fri, 10 Mar 2023 at 08:42, Johan Jonker <jbx6244 at gmail.com> wrote:
> >>
> >> The fdt_addr_t and phys_addr_t size have been decoupled.
> >> A 32bit CPU can expect 64-bit data from the device tree parser,
> >
>
> > Sorry if you already responded and I missed it.
> >
> > I don't understand this line. It looks like sizeof(fdt_addr_t) is
> > still 4 on 32-bit machines. So what does this actually mean?
>
> The original response on WHY we need it for partitions:
> https://lore.kernel.org/u-boot/7256f237-4b7b-f7d7-834f-f7c3fb8984d7@gmail.com/T/#m81afcb203e2309c05ca97d36c63ef758cf3cef89
>
> Below an explanation of the consequences.
> Does this text below help?

Yes, I think I was reading it more generally, but here you are just
talking about partitions.

Regards,
Simon


More information about the U-Boot mailing list