From 08ee41f6caa50cbd349f018c9c48352bf7bbbf5e Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 28 Sep 2018 16:43:57 +0800 Subject: imx8qm/imx8qxp: enable output debug message to SC console Add support for enabling output debug message to SC console, SC_CONSOLE is used to enable/disable it. Example log output on SC console as below: *** Debug Monitor *** >$ NOTICE: smc_fid is c2000003 imx_pwr_domain_on cluster_id 0, cpu_id 1 cluster:0 core:1 is on imx_pwr_domain_on cluster_id 0, cpu_id 2 cluster:0 core:2 is on imx_pwr_domain_on cluster_id 0, cpu_id 3 cluster:0 core:3 is on imx_pwr_domain_on cluster_id 1, cpu_id 0 cluster:1 core:0 is on imx_pwr_domain_on cluster_id 1, cpu_id 1 cluster:1 core:1 is on Signed-off-by: Anson Huang --- plat/imx/imx8qm/include/platform_def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plat/imx/imx8qm/include/platform_def.h') diff --git a/plat/imx/imx8qm/include/platform_def.h b/plat/imx/imx8qm/include/platform_def.h index c68cbd16..a9a903af 100644 --- a/plat/imx/imx8qm/include/platform_def.h +++ b/plat/imx/imx8qm/include/platform_def.h @@ -67,6 +67,9 @@ #define COUNTER_FREQUENCY 8000000 /* 8MHz */ +/* enable it to make debug message to SC console */ +#define SC_CONSOLE 0 + #define DEBUG_CONSOLE 0 #ifdef SPD_trusty #define DEBUG_CONSOLE_A53 1 -- cgit v1.2.3