aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-16 16:46:06 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-22 10:26:05 +0100
commit39b6cc66d670be41d6b51b644beb675f386a4240 (patch)
treeddf5b68804ea9548ea75fe38108eeb6c790afd8c /services
parent870ce3ddd3b33c59418a7dba703e8a66ec75f98f (diff)
downloadtrusted-firmware-a-39b6cc66d670be41d6b51b644beb675f386a4240.tar.gz
libc: Use printf and snprintf across codebase
tf_printf and tf_snprintf are now called printf and snprintf, so the code needs to be updated. Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'services')
-rw-r--r--services/spd/trusty/generic-arm64-smcall.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/services/spd/trusty/generic-arm64-smcall.c b/services/spd/trusty/generic-arm64-smcall.c
index 1362c1c686..6f766c4db9 100644
--- a/services/spd/trusty/generic-arm64-smcall.c
+++ b/services/spd/trusty/generic-arm64-smcall.c
@@ -6,6 +6,7 @@
#include <debug.h>
#include <runtime_svc.h>
+#include <stdio.h>
#include "generic-arm64-smcall.h"
@@ -29,14 +30,14 @@ static void trusty_dputc(char ch, int secure)
s->linebuf[s->l++] = ch;
if (s->l == sizeof(s->linebuf) || ch == '\n') {
if (secure)
- tf_printf("secure os: ");
+ printf("secure os: ");
else
- tf_printf("non-secure os: ");
+ printf("non-secure os: ");
for (i = 0; i < s->l; i++) {
putchar(s->linebuf[i]);
}
if (ch != '\n') {
- tf_printf(" <...>\n");
+ printf(" <...>\n");
}
s->l = 0;
}