[PATCH] RISC-V: LiteX: fix comment about running from ROM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Copy-paste left-over. On LiteX, barebox is already running from RAM that
the BIOS had set up.

Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
---
 arch/riscv/boards/litex-linux/lowlevel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/boards/litex-linux/lowlevel.c b/arch/riscv/boards/litex-linux/lowlevel.c
index da23ef5633a5..6be3d62e64fb 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);
-- 
2.33.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux