diff options
| author | Peng Fan <[email protected]> | 2026-06-09 16:36:23 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-26 17:05:56 -0300 |
| commit | 902cf2bf67646e41f47573e5bcf9fbdd4ce9ff38 (patch) | |
| tree | f978f04be67c407354e036d4a9d6d47ce567fd18 /include/linux | |
| parent | 2571e319c57ebb3c7fa608f65d3cf4e455f443f6 (diff) | |
imx: Guard print_cpuinfo with !CONFIG_IS_ENABLED(CPU)
When CONFIG_CPU is enabled, print_cpuinfo is defined in common/board_f.c
with static property. However in imx cpu.c, print_cpuinfo is not a local
function, so guard it with !CONFIG_IS_ENABLED(CPU).
And all i.MX8M boards has CONFIG_CPU and CONFIG_CPU_IMX set, so remove the
dead code.
However legacy print_cpuinfo also print reset reason, to keep reset
reason printed as before, export get_reset_reason() and invoke it
at arch_misc_init().
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
