SPM: S-EL0 partitions support build for TC0

Add support for building Ivy for the TC0 platform. To do this
extend the Ivy build system to support building for multiple
platforms.

Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I47298f00ba91f498826dd3ddd690309df01cc13e
diff --git a/spm/ivy/app/ivy_main.c b/spm/ivy/app/ivy_main.c
index f51fcb5..28f93ab 100644
--- a/spm/ivy/app/ivy_main.c
+++ b/spm/ivy/app/ivy_main.c
@@ -8,8 +8,7 @@
 #include <debug.h>
 #include <errno.h>
 #include <ffa_helpers.h>
-#include <ivy_def.h>
-#include <platform_def.h>
+#include <sp_debug.h>
 #include <sp_helpers.h>
 
 #include "ivy.h"
@@ -23,6 +22,8 @@
 	u_register_t ret;
 	svc_args args;
 
+	set_putc_impl(SVC_CALL_AS_STDOUT);
+
 	NOTICE("Entering S-EL0 Secure Partition\n");
 	NOTICE("%s\n", build_message);
 	NOTICE("%s\n", version_string);
@@ -30,16 +31,20 @@
 init:
 	args = (svc_args){.fid = FFA_MSG_WAIT};
 	ret = sp_svc(&args);
+
 	while (1) {
 		if (ret != FFA_MSG_SEND_DIRECT_REQ_SMC32) {
 			ERROR("unknown FF-A request %lx\n", ret);
 			goto init;
 		}
+
 		VERBOSE("Received request: %lx\n", args.arg3);
+
 		args.fid = FFA_MSG_SEND_DIRECT_RESP_SMC32;
 		args.arg1 = 0x80020000;
 		args.arg2 = 0;
 		args.arg3 = 0;
+
 		ret = sp_svc(&args);
 	}
 }