SPRTL: Override toolchain 'printf'
There were unnecessary toolchain symbols got involved when overriding
'printf' in the old code base, it was caused by the code referencing
other stdio symbols. As these references are now cleaned, overriding
'printf' can proceed.
Background:
This is the first patch for upcoming log udpates. For isolation
consideration, the SPM log system was separated from the partition
log system. But as TF-M reference chooses no isolating code between
components, and the separation costs extra code size which makes less
significance. To enhance this, the log output would base on 'printf'
family shared between SPM and partitions.
The LOG API/preprocessor name for SPM are different to those partition
LOG API/preprocessor. This leaves the chance for forwarding the LOG API
to other implementations for them when there are potential isolation
requriements (again).
Signed-off-by: Ken Liu <Ken.Liu@arm.com>
Change-Id: I240c87aae668ae244d7d2ae3a505a9155b10dac6
5 files changed