Simon Glass sjg at
Sun May 31 18:09:40 CEST 2020

Hi Heinrich,

On Sun, 31 May 2020 at 09:34, Heinrich Schuchardt <xypron.glpk at> wrote:
> Hello Simon,
> in some drivers we use printk() which is restricted by CONFIG_LOGLEVEL
> and translates to printf().
> Shouldn't printk() be translated to log() instead?
> CONFIG_LOGLEVEL probably should better be renamed to
> CONFIG_PRINTK_LOGLEVEL to avoid confusion.
> And those different levels like KERN_WARNING should probably be properly
> defined to translate into out log levels.

Yes definitely. I have been thinking about those things for a while,
not to mention dev_err() and friends.


More information about the U-Boot mailing list