diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-05-17 15:34:22 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-05-24 10:47:05 +0100 |
commit | da5241cb1591416d6aeba9f30ce395b58c97cb5d (patch) | |
tree | 7a87fdd1bcabbe2acd55c7e7f0c0a7f790d79281 /Makefile | |
parent | c1de3fdd32ff1848286fbe642a15f148f6bbf9a3 (diff) |
Introduce `tf_snprintf`
This is a reduced version of `snprintf` that only supports formats '%d',
'%i' and '%u'. It can be used when the full `snprintf` is not needed in
order to save memory. If it finds an unknown format specifier, it
prints an error message and panics.
Change-Id: I2cb06fcdf74cda2c43caf73ae0762a91499fc04e
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -150,6 +150,7 @@ include lib/stdlib/stdlib.mk BL_COMMON_SOURCES += common/bl_common.c \ common/tf_printf.c \ + common/tf_snprintf.c \ common/${ARCH}/debug.S \ lib/${ARCH}/cache_helpers.S \ lib/${ARCH}/misc_helpers.S \ |