[PATCH 0/4] Change printf behaviour

Marco Felsch m.felsch at pengutronix.de
Fri May 21 09:34:31 PDT 2021


Hi all,

my current project needs barebox as quite as possible since it has
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




More information about the barebox mailing list