[U-Boot] [PATCH 1/2] [RFC] lib: Implement support for tiny sprintf()

Marek Vasut marex at denx.de
Tue May 31 01:30:58 CEST 2016


On 05/30/2016 07:55 PM, Tom Rini wrote:
> On Thu, May 26, 2016 at 06:00:24PM +0200, Marek Vasut wrote:
> 
>> Tweak the tiny printf code to also provide similarly tiny sprintf()
>> implementation. This is not comformant with POSIX for sure, but it
>> keeps the size down while still behaving rather reasonably.
>>
>> Signed-off-by: Marek Vasut <marex at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Tom Rini <trini at konsulko.com>
> 
> Reviewed-by: Tom Rini <trini at konsulko.com>
> 
Mind you, I really dislike how I "implemented" this, it's really more of
a vulgar hack. Do you have any comments on this patch ?

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list