* [PATCH 1/2] board: developerbox: use identity mapping for >4GB
@ 2022-09-12 17:05 jassisinghbrar
2022-10-07 15:47 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: jassisinghbrar @ 2022-09-12 17:05 UTC (permalink / raw)
To: trini, u-boot; +Cc: kojima.masahisa, ilias.apalodimas, Jassi Brar
From: Jassi Brar <jaswinder.singh@linaro.org>
Identity-map the second and later memory banks which are located >4GB.
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
---
board/socionext/developerbox/developerbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c
index 9552bfcdc3..b680f77d80 100644
--- a/board/socionext/developerbox/developerbox.c
+++ b/board/socionext/developerbox/developerbox.c
@@ -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;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] board: developerbox: use identity mapping for >4GB
2022-09-12 17:05 [PATCH 1/2] board: developerbox: use identity mapping for >4GB jassisinghbrar
@ 2022-10-07 15:47 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2022-10-07 15:47 UTC (permalink / raw)
To: jassisinghbrar; +Cc: u-boot, kojima.masahisa, ilias.apalodimas, Jassi Brar
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
On Mon, Sep 12, 2022 at 12:05:15PM -0500, jassisinghbrar@gmail.com wrote:
> From: Jassi Brar <jaswinder.singh@linaro.org>
>
> Identity-map the second and later memory banks which are located >4GB.
>
> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-07 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-12 17:05 [PATCH 1/2] board: developerbox: use identity mapping for >4GB jassisinghbrar
2022-10-07 15:47 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.