From d5fca8923f5e390e55ed03212e3c9619c083eb3c Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 22 Nov 2019 11:17:03 +0800 Subject: Add NXP's i.MX8 SoCs system controller console support NXP's i.MX8 SoCs with system controller inside support outputting debug message to system controller's console via calling SCFW API, since TF-A shares debug console with Linux kernel which will have confliction if Linux kernel and TF-A's console are both enabled, this patch adds support for switching TF-A debug console to system controller to easy TF-A debug. Signed-off-by: Anson Huang --- lib/libc/putchar.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc') diff --git a/lib/libc/putchar.c b/lib/libc/putchar.c index 037e28ac..1f985bc4 100644 --- a/lib/libc/putchar.c +++ b/lib/libc/putchar.c @@ -8,6 +8,8 @@ #include +#pragma weak putchar + int putchar(int c) { int res; -- cgit v1.2.3