[PATCH 3/5] thermal: imx_tmu: Select LOG

Tom Rini trini at konsulko.com
Wed Aug 23 19:34:03 CEST 2023


On Wed, Aug 23, 2023 at 02:26:35PM -0300, Fabio Estevam wrote:

> From: Fabio Estevam <festevam at denx.de>
> 
> Without LOG being selected, the dev_info() information
> from the imx_tmu driver cannot be printed.
> 
> Select the LOG option, so that no dev_info() messages are lost.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---
>  drivers/thermal/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 681b621760..0a1d11e216 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -29,6 +29,7 @@ config IMX_SCU_THERMAL
>  config IMX_TMU
>          bool "Thermal Management Unit driver for NXP i.MX8M and iMX93"
>          depends on ARCH_IMX8M || IMX93
> +        select LOG
>          help
>            Support for Temperature sensors on NXP i.MX8M and iMX93.
>            It supports one critical trip point and one passive trip point.

This is now going to bring in a ton of other messages.  Perhaps the
problem is that there are critical messages in this driver which should
not be dev_info ?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230823/247bd064/attachment.sig>


More information about the U-Boot mailing list