From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Sun, 31 May 2020 17:34:22 +0200 Subject: printk Message-ID: <95cadde5-1aeb-392f-9933-5965dc3af1e8@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Best regards Heinrich