summaryrefslogtreecommitdiff
path: root/common/aarch64/debug.S
diff options
context:
space:
mode:
Diffstat (limited to 'common/aarch64/debug.S')
-rw-r--r--common/aarch64/debug.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/aarch64/debug.S b/common/aarch64/debug.S
index ac47cbe9..e6e32985 100644
--- a/common/aarch64/debug.S
+++ b/common/aarch64/debug.S
@@ -11,6 +11,7 @@
.globl asm_print_str
.globl asm_print_hex
.globl asm_print_hex_bits
+ .globl asm_print_newline
.globl asm_assert
.globl do_panic
@@ -130,6 +131,15 @@ asm_print_hex_bits:
ret x3
endfunc asm_print_hex
+/*
+ * Helper function to print newline to console
+ * Clobber: x0
+ */
+func asm_print_newline
+ mov x0, '\n'
+ b plat_crash_console_putc
+endfunc asm_print_newline
+
/***********************************************************
* The common implementation of do_panic for all BL stages
***********************************************************/