mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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>
This commit is contained in:
parent
580db7fd90
commit
97dc98658a
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@
|
|||
void *cbmem_top(void)
|
||||
{
|
||||
// TODO: find out how RISCV stores this.
|
||||
return (void *)0x1fff000;
|
||||
return (void *)((uintptr_t)3*GiB);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue