diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-07-14 20:24:25 +0200 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2016-07-15 03:01:02 +0200 |
commit | 97dc98658ae54d45f98b383e655b0a08db9362f8 (patch) | |
tree | c6c60712d0ed77478a7973347dad4c33da68e92e /src/soc/ucb | |
parent | 580db7fd9036134b1da4fe7340e306fee4681659 (diff) |
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@gmx.net>
Reviewed-on: https://review.coreboot.org/15284
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/soc/ucb')
-rw-r--r-- | src/soc/ucb/riscv/cbmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/ucb/riscv/cbmem.c b/src/soc/ucb/riscv/cbmem.c index 3aabf19b56..0e0eec196b 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); } |