projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42617b
)
soc: imx8: print SoC type and revision
author
Lucas Stach
<l.stach@pengutronix.de>
Mon, 9 Dec 2019 07:20:55 +0000
(15:20 +0800)
committer
Shawn Guo
<shawnguo@kernel.org>
Mon, 9 Dec 2019 07:20:55 +0000
(15:20 +0800)
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>
drivers/soc/imx/soc-imx8.c
patch
|
blob
|
history
diff --git
a/drivers/soc/imx/soc-imx8.c
b/drivers/soc/imx/soc-imx8.c
index d84ed736cdb008af6a4180da60ef09fccc02644b..964ff84edea4111df212210f314429694807156e 100644
(file)
--- 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);