]> git.sur5r.net Git - u-boot/commit
tiny-printf: Support snprintf()
authorSimon Glass <sjg@chromium.org>
Sat, 14 May 2016 20:02:53 +0000 (14:02 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 02:48:44 +0000 (20:48 -0600)
commit5c411d88be8df5f6a8a1ea0c961f7c35ba82c064
tree149a59fc9d4a86c098c24914c5b6f1791a818f5f
parent1fb67608b309bd7f49842fbdfb1dc2b18a250965
tiny-printf: Support snprintf()

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: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
lib/tiny-printf.c