diff options
Diffstat (limited to 'plat/imx/common/misc.c')
-rw-r--r-- | plat/imx/common/misc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plat/imx/common/misc.c b/plat/imx/common/misc.c index be18673e..025402aa 100644 --- a/plat/imx/common/misc.c +++ b/plat/imx/common/misc.c @@ -24,3 +24,13 @@ int imx_misc_set_temp_handler(uint32_t smc_fid, { return sc_misc_set_temp(ipc_handle, x1, x2, x3, x4); } + +#if SC_CONSOLE +int putchar(int c) +{ + if (ipc_handle) + sc_misc_debug_out(ipc_handle, (unsigned char)c); + + return c; +} +#endif |