diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-12-09 15:20:55 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-12-09 15:20:55 +0800 |
commit | cd262dbfd7032fb0307478362ab7d79e4eb6d2c4 (patch) | |
tree | daaeed684e62bee581ab962c373244d544cd4450 /drivers/soc | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-cd262dbfd7032fb0307478362ab7d79e4eb6d2c4.tar.bz2 |
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 <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/imx/soc-imx8.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8.c index d84ed736cdb0..964ff84edea4 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); |