[U-Boot] [PATCH 1/2] tiny-printf: Support sprintf()

Sylvain Lesne lesne at alse-fr.com
Wed Jun 1 10:16:12 CEST 2016


Hi,

On 05/31/2016 11:12 PM, Marek Vasut wrote:
> 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 at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: lesne at alse-fr.com

This is how I would do it as well, and I can confirm that it builds
and boots on a socfpga platform (sockit), when using part_dos.c
(that includes sprintf() calls).

Reviewed-by: Sylvain Lesne <lesne at alse-fr.com>
Tested-by: Sylvain Lesne <lesne at alse-fr.com>

-- 
Sylvain


More information about the U-Boot mailing list