diff options
author | Stefan Riedmueller <s.riedmueller@phytec.de> | 2020-12-09 18:20:23 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-01-07 11:25:18 +0800 |
commit | fbaff050bb092836912b195459ca915b5fea8952 (patch) | |
tree | 42635da3085222e5b7daa2046f9fb471c64e865d /arch/arm/mach-imx | |
parent | c7e73b5051d672a707cc52195b761e2bc76dade0 (diff) | |
download | lwn-fbaff050bb092836912b195459ca915b5fea8952.tar.gz lwn-fbaff050bb092836912b195459ca915b5fea8952.zip |
ARM: mach-imx: imx6ul: Print SOC revision on boot
Add the print of the CPU type and SOC revision during boot.
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Robert Karszniewicz <r.karszniewicz@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6ul.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c index eabcd35c01a5..35e81201cb5d 100644 --- a/arch/arm/mach-imx/mach-imx6ul.c +++ b/arch/arm/mach-imx/mach-imx6ul.c @@ -14,6 +14,7 @@ #include "common.h" #include "cpuidle.h" +#include "hardware.h" static void __init imx6ul_enet_clk_init(void) { @@ -34,6 +35,9 @@ static inline void imx6ul_enet_init(void) static void __init imx6ul_init_machine(void) { + imx_print_silicon_rev(cpu_is_imx6ull() ? "i.MX6ULL" : "i.MX6UL", + imx_get_soc_revision()); + of_platform_default_populate(NULL, NULL, NULL); imx6ul_enet_init(); imx_anatop_init(); |