From b26759d703b636d1462d31cfa38fd3b3d8c90bfe Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Fri, 16 Feb 2018 13:36:46 +0100 Subject: arch/riscv: Don't set up virtual memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/23772 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/riscv/boot.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/arch/riscv/boot.c') 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); } -- cgit v1.2.3