aboutsummaryrefslogtreecommitdiff
path: root/product/morello
diff options
context:
space:
mode:
authorAnurag Koul <anurag.koul@arm.com>2020-06-10 16:01:10 +0100
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-09-15 17:03:53 +0100
commita6628de866166db33d249707989ac2df9180f8cb (patch)
tree897a12a67629e768b9db67b10df71c806f9229bd /product/morello
parent24b44c8891dfc82314f2945344b02bf1f8386f93 (diff)
morello: enable cli debug over scp uart
Enable UART debug and disable log buffering in release mode. Change-Id: I46348685431b3e28b69f616c95a65ba3a01a9206 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
Diffstat (limited to 'product/morello')
-rw-r--r--product/morello/include/dbg_system_map.h15
-rw-r--r--product/morello/include/fmw_log.h16
2 files changed, 31 insertions, 0 deletions
diff --git a/product/morello/include/dbg_system_map.h b/product/morello/include/dbg_system_map.h
new file mode 100644
index 00000000..d40f0d95
--- /dev/null
+++ b/product/morello/include/dbg_system_map.h
@@ -0,0 +1,15 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef DBG_SYSTEM_MAP
+#define DBG_SYSTEM_MAP
+
+#include "morello_scp_mmap.h"
+
+#define DEBUG_UART_BASE SCP_UART_BASE
+
+#endif /* DBG_SYSTEM_MAP */
diff --git a/product/morello/include/fmw_log.h b/product/morello/include/fmw_log.h
new file mode 100644
index 00000000..6198db33
--- /dev/null
+++ b/product/morello/include/fmw_log.h
@@ -0,0 +1,16 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef FMW_LOG_H
+#define FMW_LOG_H
+
+/*
+ * Disable log buffering by setting buffer size to 0.
+ */
+#define FMW_LOG_BUFFER_SIZE 0
+
+#endif /* FMW_LOG_H */