[PATCH v2 04/11] RISC-V: boards: erizo: make it possible to use nmon

Antony Pavlov antonynpavlov at gmail.com
Thu May 6 15:08:27 PDT 2021


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/riscv/boards/erizo/lowlevel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/riscv/boards/erizo/lowlevel.c b/arch/riscv/boards/erizo/lowlevel.c
index d9edb530b7..fd899c8679 100644
--- a/arch/riscv/boards/erizo/lowlevel.c
+++ b/arch/riscv/boards/erizo/lowlevel.c
@@ -3,12 +3,15 @@
 #include <common.h>
 #include <asm/barebox-riscv.h>
 #include <debug_ll.h>
+#include <asm/riscv_nmon.h>
 
 ENTRY_FUNCTION(start_erizo_generic, a0, a1, a2)
 {
 	extern char __dtb_z_erizo_generic_start[];
 
 	debug_ll_ns16550_init();
+	barebox_nmon_entry();
+
 	putc_ll('>');
 
 	/* On POR, we are running from read-only memory here. */
-- 
2.31.1




More information about the barebox mailing list