
20 Dec
2023
20 Dec
'23
9:12 a.m.
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