[U-Boot] [PATCH 6/7] mmc: mmc: Don't use sprintf when using tiny-printf

Simon Glass sjg at chromium.org
Tue Dec 8 01:40:00 CET 2015


On 4 December 2015 at 15:27, Sjoerd Simons
<sjoerd.simons at collabora.co.uk> wrote:
> There is no sprintf implementation in tiny-printf, so don't try to use
> it when tiny-printf if used.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> ---
>
>  drivers/mmc/mmc.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Acked-by: Simon Glass <sjg at chromium.org>
Tested on firefly:
Tested-by: Simon Glass <sjg at chromium.org>

I can't help thinking that sprintf() would not add a lot more code...

- Simon


More information about the U-Boot mailing list