[PATCH 1/2] spl: Avoid printing boot device if silent console is enabled

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Sep 30 13:47:40 CEST 2020


Em qua., 30 de set. de 2020 às 02:23, Stefan Roese <sr at denx.de> escreveu:
> On 30.09.20 04:14, Otavio Salvador wrote:
> Wouldn't it be better, to add this CONFIG_SILENT_CONSOLE check to
> the console / printf function itself instead of adding it to all
> callers?

I believe in critical errors and like, it is important to print so I'd
say that using a more controlled "hide" mechanism is good.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list