[PATCH] tiny-printf: Support %i

Marek Vasut marex at denx.de
Fri Apr 10 22:52:34 CEST 2020


On 4/10/20 10:47 PM, Simon Glass wrote:
> Hi Marek,
> 
> On Fri, 10 Apr 2020 at 12:54, Marek Vasut <marex at denx.de> wrote:
>>
>> The most basic printf("%i", value) formating string was missing,
>> add it for the sake of convenience.
>>
>> Signed-off-by: Marek Vasut <marex at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Stefan Roese <sr at denx.de>
>> ---
>>  lib/tiny-printf.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> Can you add to the test in print_ut.c?

Sure, is that a hard-requirement for such a minor patch ?
Is there an example for the other %u / %d variants ?


More information about the U-Boot mailing list