[PATCH 0/4] Change printf behaviour

Marco Felsch m.felsch at pengutronix.de
Fri May 21 09:52:48 PDT 2021


On 21-05-21 18:34, Marco Felsch wrote:
> Hi all,
> 
> my current project needs barebox as quite as possible since it has
					^
				  ... quiet
> strict boot time requirements. Unfortunately barebox was still a bit to
> talkative after setting the default loglevel to 4 (warn). Therefore I
> made these changes which saved ~40ms during a normal blspec boot.
> 
> Regards,
>   Marco
> 
> Marco Felsch (4):
>   commands: mount: replace printf by pr_info
>   common: boot: replace printf by pr_info/warn variants
>   common: bootm: replace printf by pr_err/info
>   common: oftree: replace printf by pr_info
> 
>  commands/mount.c |  2 +-
>  common/boot.c    |  4 +--
>  common/bootm.c   | 88 ++++++++++++++++++++++++------------------------
>  common/oftree.c  |  2 +-
>  4 files changed, 48 insertions(+), 48 deletions(-)
> 
> -- 
> 2.29.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list