From: Lucas Stach Date: Mon, 9 Dec 2019 07:20:55 +0000 (+0800) Subject: soc: imx8: print SoC type and revision X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cd262dbfd7032fb0307478362ab7d79e4eb6d2c4;p=linux.git 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: Lucas Stach Signed-off-by: Shawn Guo --- diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8.c index d84ed736cdb00..964ff84edea41 100644 --- a/drivers/soc/imx/soc-imx8.c +++ b/drivers/soc/imx/soc-imx8.c @@ -204,6 +204,9 @@ static int __init imx8_soc_init(void) 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)) platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0);