Add support to left-pad with zeroes in tf_printf
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Fri, 15 Dec 2017 10:36:20 +0000 (10:36 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Fri, 15 Dec 2017 15:03:48 +0000 (15:03 +0000)
commit84816dcd7c67daf7f0f3b3544784192f13197a7b
tree368bff48148c7945b04cb0772d6748bf3dcf8277
parent842c00eb44b4f2d4c4ad4055c7f82a82721e2034
Add support to left-pad with zeroes in tf_printf

Add support to formats %i, %d, %p, %x and %u for left-padding numbers
with zeroes (e.g. `%08x`).

Change-Id: Ifd4795a82a8d83da2c00b44b9e482a2d9be797e3
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
common/tf_printf.c