On Fri, Mar 04, 2022 at 04:30:16PM +0000, Andre Przywara wrote: > In preparation for the ARMv8-R64 FVP support, which has DRAM mapped at > 0x0, generalise the page table generation, by using symbolic names for > the address ranges instead of fixed numbers. > > We already define the base of the DRAM and MMIO regions, so just use > those symbols in the page table description. Rename V2M_BASE to the more > speaking V2M_DRAM_BASE on the way. > > On the VExpress memory map, the address space right after 4GB is of no > particular interest to software, as the whole of DRAM is mapped at 32GB > instead. The first 2 GB alias to the lower 2GB of DRAM mapped below 4GB, > so we skip this part and map some more of the high DRAM, should anyone > need it. > > Signed-off-by: Andre Przywara Applied to u-boot/next, thanks! -- Tom