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

Marek Vasut marek.vasut at mailbox.org
Sun Mar 23 06:08:33 CET 2025


On 3/23/25 1:03 AM, Adam Ford wrote:
> 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.
Either way works for me, as long as it gets fixed. Thanks !


More information about the U-Boot mailing list