]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
soc: imx8ulp: Add celsius unit for temperature
authorDavid Zang <davidzangcs@gmail.com>
Sat, 12 Jul 2025 00:12:54 +0000 (19:12 -0500)
committerFabio Estevam <festevam@gmail.com>
Thu, 17 Jul 2025 12:57:55 +0000 (09:57 -0300)
Make temperature unit (celsius) more clear to reduce confusion.

Signed-off-by: David Zang <davidzangcs@gmail.com>
arch/arm/mach-imx/imx8ulp/soc.c

index 8fe70e2424f3e8445a9669b948db7613beb49585..e85cb0dd25289b133b8d7ddcdbb7e67a237d51a0 100644 (file)
@@ -279,7 +279,7 @@ int print_cpuinfo(void)
        if (!ret) {
                ret = thermal_get_temp(udev, &temp);
                if (!ret)
-                       printf("CPU current temperature: %d\n", temp);
+                       printf("CPU current temperature: %dC\n", temp);
                else
                        debug(" - failed to get CPU current temperature\n");
        } else {