summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boards/litex-linux/lowlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/boards/litex-linux/lowlevel.c')
-rw-r--r--arch/riscv/boards/litex-linux/lowlevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/boards/litex-linux/lowlevel.c b/arch/riscv/boards/litex-linux/lowlevel.c
index da23ef5633..6be3d62e64 100644
--- a/arch/riscv/boards/litex-linux/lowlevel.c
+++ b/arch/riscv/boards/litex-linux/lowlevel.c
@@ -10,12 +10,12 @@ ENTRY_FUNCTION(start_litex_linux, a0, a1, a2)
extern char __dtb_z_litex_linux_start[];
void *fdt;
+ /* BIOS will have loaded us into RAM */
+
barebox_nmon_entry();
putc_ll('>');
- /* On POR, we are running from read-only memory here. */
-
fdt = __dtb_z_litex_linux_start + get_runtime_offset();
barebox_riscv_machine_entry(0x40000000, SZ_256M, fdt);