[PATCH V3 3/6] cpu: imx8_cpu: Print Speed grade if IMX_THERMAL or IMX_TMU

Adam Ford aford173 at gmail.com
Sun Mar 23 01:03:47 CET 2025


On Sat, Mar 22, 2025 at 6:31 PM Marek Vasut <marek.vasut at mailbox.org> wrote:
>
> On 3/22/25 7:38 PM, Adam Ford wrote:
> > Much of the data that is display by imx8_cpu.c is also displayed from
> > arch/arm/mach-imx/cpu.c, except the temperature grade and active
> > temperature are only displayed when SoC is an i.MX9. Since IMX9 now
> > implies IMX_TMU, change this to check for IMX_THERMAL or IMX_TMU
> > in the same way it's done in mach-imx/cpu.c to enable displaying
> > this information for any SoC with either of these configs enabled.
> >
> > Before:
> > CPU:   NXP i.MX8MP Rev1.1 A53 at 1200 MHz
> > Model: Beacon EmbeddedWorks i.MX8MPlus Development kit
> >
> > After:
> > CPU:   NXP i.MX8MP Rev1.1 A53 at 1200 MHz
> > CPU:   Industrial temperature grade  (-40C to 105C) at 28C
> There is an extra space after 'grade' , please fix.

No problem.  Should that be its own patch, or can I roll the
whitespace change with the #ifdef change?  Normally, I like to keep
them separate, but it seems silly to me to make a patch solely for a
1-character whitespace change.

adam


More information about the U-Boot mailing list