Commit cd262dbf authored by Lucas Stach's avatar Lucas Stach Committed by Shawn Guo

soc: imx8: print SoC type and revision

This is useful information to have when looking through system logs,
so add it to the output.
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent e42617b8
...@@ -204,6 +204,9 @@ static int __init imx8_soc_init(void) ...@@ -204,6 +204,9 @@ static int __init imx8_soc_init(void)
goto free_serial_number; goto free_serial_number;
} }
pr_info("SoC: %s revision %s\n", soc_dev_attr->soc_id,
soc_dev_attr->revision);
if (IS_ENABLED(CONFIG_ARM_IMX_CPUFREQ_DT)) if (IS_ENABLED(CONFIG_ARM_IMX_CPUFREQ_DT))
platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0); platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment