imx: imx8m: Imply IMX_TMU
authorAdam Ford <aford173@gmail.com>
Tue, 25 Mar 2025 02:54:44 +0000 (21:54 -0500)
committerFabio Estevam <festevam@gmail.com>
Tue, 25 Mar 2025 11:32:16 +0000 (08:32 -0300)
If the CPU Information is displayed from imx8_cpu, it displays the
cpu temperature grade and operating temperature if CONFIG_IMX9 is
defined. This behavior is similar to what happens mach-imx/cpu.c,
except that the latter checks for IMX_THERMAL or IMX_TMU.

In preparation to make imx8_cpu act like the previous implementation
for any CPU, make IMX8M imply IMX_TMU so it will be always displayed
unless a user decides to disable it.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/mach-imx/imx8m/Kconfig

index 89f2b50..8ee699a 100644 (file)
@@ -8,6 +8,7 @@ config IMX8M
        select LTO
        select ROM_UNIFIED_SECTIONS
        select ARMV8_CRYPTO
+       imply IMX_TMU
 
 config IMX8MQ
        bool