Replace stdio.h functions by TF functions
Functions provided by stdio.h such as printf and sprintf are available
in the codebase, but they add a lot of code to the final image if they
are used:

- AArch64: ~4KB
- AArch32: ~2KB in T32, ~3KB in A32

tf_printf and tf_snprintf are a lot more simple, but it is preferable
to use them when possible because they are also used in common code.

Change-Id: Id09fd2b486198fe3d79276e2c27931595b7ba60e
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 73bc6e7 commit 6a23356c4f70d1407c094ea2ea3e21e8a657c1c3
@Antonio Nino Diaz Antonio Nino Diaz authored on 9 Aug 2018
Showing 6 changed files
View
drivers/marvell/comphy/phy-comphy-cp110.c
View
drivers/partition/partition.c
View
drivers/st/clk/stm32mp1_clk.c
View
plat/hisilicon/hikey/hisi_ipc.c
View
plat/marvell/a8k/common/mss/mss_bl2_setup.c
View
services/spd/trusty/generic-arm64-smcall.c