[coreboot-gerrit] Patch set updated for coreboot: arch/riscv: Move CBMEM into RAM

Jonathan Neuschäfer (j.neuschaefer@gmx.net) gerrit at coreboot.org
Thu Jul 7 21:01:33 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 9824e6b7f65ff62bff12b4c28da49b3a895a303b
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date:   Thu Jul 7 20:53:29 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..a013e01 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 *)0xc0000000;
 }



More information about the coreboot-gerrit mailing list