diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-02-16 13:36:46 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-20 20:45:22 +0000 |
commit | b26759d703b636d1462d31cfa38fd3b3d8c90bfe (patch) | |
tree | 07a52b6bf62867d91935456518a164e0c2759c9b /src/arch/riscv/boot.c | |
parent | 2764919dfb78127517dcf13c6ec002f937626b02 (diff) |
arch/riscv: Don't set up virtual memory
Due to changes in the RISC-V Privileged Architecture specification,
Linux can now be started in physical memory and it will setup its own
page tables.
Thus we can delete most of virtual_memory.c.
Change-Id: I4e69d15f8ee540d2f98c342bc4ec0c00fb48def0
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23772
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/riscv/boot.c')
-rw-r--r-- | src/arch/riscv/boot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/riscv/boot.c b/src/arch/riscv/boot.c index ac095bbee1..b73f3cade4 100644 --- a/src/arch/riscv/boot.c +++ b/src/arch/riscv/boot.c @@ -27,7 +27,6 @@ void arch_prog_run(struct prog *prog) if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) { printk(BIOS_SPEW, "Config string: '%s'\n", config); - initVirtualMemory(); printk(BIOS_SPEW, "OK, let's go\n"); riscvpayload(config, doit); } |