[coreboot-gerrit] Patch set updated for coreboot: arch/riscv: Move CBMEM into RAM
Jonathan Neuschäfer (j.neuschaefer@gmx.net)
gerrit at coreboot.org
Fri Jul 15 01:51:20 CEST 2016
Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15284
-gerrit
commit a5151a297ecc5e56a66b59ff651b9dd52c452df2
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date: Thu Jul 14 20:24:25 2016 +0200
arch/riscv: Move CBMEM into RAM
CBMEM should be placed at the top of RAM, which can be found by parsing
the configuration string. Configuration string parsing isn't yet
implemented, so I'll hard-code the CBMEM location for now.
Change-Id: If4092d094a856f6783887c062d6682dd13a73b8f
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
src/soc/ucb/riscv/cbmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/soc/ucb/riscv/cbmem.c b/src/soc/ucb/riscv/cbmem.c
index 3aabf19..0e0eec1 100644
--- a/src/soc/ucb/riscv/cbmem.c
+++ b/src/soc/ucb/riscv/cbmem.c
@@ -16,5 +16,5 @@
void *cbmem_top(void)
{
// TODO: find out how RISCV stores this.
- return (void *)0x1fff000;
+ return (void *)((uintptr_t)3*GiB);
}
More information about the coreboot-gerrit
mailing list