refactor(cactus): use FFA_CONSOLE_LOG for debug logs
With the introduction of ffa_console_log abi, implementation-
defined debug logging is deprecated. Remove support for
SPM_DEBUG_LOG and use FFA_CONSOLE_LOG instead.
Also remove test for FFA_CONSOLE_LOG as it is now used as default
logger. Removing it cleans up test prints.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: Ibe02e14105aaa1658153ba35a5fc8e852ae3f955
diff --git a/spm/ivy/app/ivy_main.c b/spm/ivy/app/ivy_main.c
index 0098809..1e2cd6a 100644
--- a/spm/ivy/app/ivy_main.c
+++ b/spm/ivy/app/ivy_main.c
@@ -24,7 +24,7 @@
ffa_id_t my_id;
struct mailbox_buffers mb;
- set_putc_impl(SVC_CALL_AS_STDOUT);
+ set_putc_impl(FFA_SVC_SMC_CALL_AS_STDOUT);
/* Get FF-A id. */
ret = ffa_id_get();
diff --git a/spm/ivy/shim/shim_main.c b/spm/ivy/shim/shim_main.c
index 1d6c723..f6170a0 100644
--- a/spm/ivy/shim/shim_main.c
+++ b/spm/ivy/shim/shim_main.c
@@ -92,7 +92,7 @@
assert(IS_IN_EL1() != 0);
/* Initialise console */
- set_putc_impl(HVC_CALL_AS_STDOUT);
+ set_putc_impl(FFA_HVC_CALL_AS_STDOUT);
/* Configure and enable Stage-1 MMU, enable D-Cache */
shim_plat_configure_mmu();