]> git.sur5r.net Git - u-boot/commit
tiny-printf: Support sprintf()
authorMarek Vasut <marex@denx.de>
Tue, 31 May 2016 21:12:46 +0000 (23:12 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2016 01:21:42 +0000 (21:21 -0400)
commitabeb272d22217481c214495818c3ceabad57b9c0
tree616d2461cef18c3611910dd1f98b614864d36f79
parentb4ba1693ef25aa0050c5aa254a0d1c4ed0af65f3
tiny-printf: Support sprintf()

Add a simple version of this function for SPL. It does not check the buffer
size as this would add to the code size.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: lesne@alse-fr.com
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Sylvain Lesne <lesne@alse-fr.com>
Tested-by: Sylvain Lesne <lesne@alse-fr.com>
lib/tiny-printf.c