summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/boot/start.S')
-rw-r--r--arch/riscv/boot/start.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/boot/start.S b/arch/riscv/boot/start.S
index d13708740b..d1dbe48b7b 100644
--- a/arch/riscv/boot/start.S
+++ b/arch/riscv/boot/start.S
@@ -18,12 +18,20 @@
#include <asm-generic/memory_layout.h>
+#include "mach/debug_ll.h"
+
+#include "asm/riscv_nmon.h"
+
.text
.section ".text_entry"
.align 2
.globl _start
_start:
+ debug_ll_ns16550_init
+
+ riscv_nmon
+
li sp, STACK_BASE + STACK_SIZE
/* copy barebox to link location */