[PATCH v3 1/7] rpi5: add initial memory map for bcm2712

Ivan T. Ivanov iivanov at suse.de
Wed Dec 20 09:12:59 CET 2023


On 12-19 21:45, Simon Glass wrote:
> >
> > +static struct mm_region bcm2712_mem_map[MEM_MAP_MAX_ENTRIES] = {
> 
> Would it be possible to read these from the devicetree?

If there is a devicetree passed, yes, it will be possible.
I have not done this just because I can't test all possible
combinations on older platforms. But for IO regions I am
not sure how feasible this is.

> 
> > +       {
> > +               .virt = 0x00000000UL,
> > +               .phys = 0x00000000UL,
> > +               .size = 0x3f800000UL,
> > +               .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
> > +                        PTE_BLOCK_INNER_SHARE
> > +       }, {
> 

Regards,
Ivan



More information about the U-Boot mailing list