board: developerbox: use identity mapping for >4GB
PATCH 1/2 board: developerbox: use identity mapping for >4GB
From: Jassi Brar <[email protected]>
Identity-map the second and later memory banks which are located >4GB.
Signed-off-by Jassi Brar <[email protected]>
--- board/socionext/developerbox/developerbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/socionext/developerbox/developerbox.c +1 -1
@@ -127,11 +127,11 @@ int dram_init(void) ri =DDR_REGION_INDEX (i); mem_map[ri].phys = ent[i].base; mem_map[ri].size = ent[i].size; + mem_map[ri].virt = mem_map[ri].phys;if (i ==0 )continue ; mr = &mem_map[DDR_REGION_INDEX (0 )]; - mem_map[ri].virt = mr->virt + mr->size; mem_map[ri].attrs = mr->attrs; }
Signature · 1 line
2.25.1
Quoted 5 lines · On Mon, Sep 12, 2022 at 12:05:15PM -0500, [email protected] wrote:
From: Jassi Brar <[email protected]>
Identity-map the second and later memory banks which are located >4GB.
Signed-off-by Jassi Brar <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom