Skip to contentSkip to conversation

ARM: mach-imx: imx6ul: Print SOC revision on boot

PATCH Applied Robert Karszniewicz 2 participants 2 messages Dec 9, 2020 – Jan 7, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mach-imx: imx6ul: Print SOC revision on boot

From: Stefan Riedmueller <[email protected]>

Add the print of the CPU type and SOC revision during boot.

---
 arch/arm/mach-imx/mach-imx6ul.c | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/mach-imx/mach-imx6ul.c +4 -0
index e018e716735f..fb6d164a49f4 100644
@@ -14,6 +14,7 @@
 
 #include "common.h"
 #include "cpuidle.h"
+#include "hardware.h"
 
 static void __init imx6ul_enet_clk_init(void)
 {
@@ -55,6 +56,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();
Signature · 7 lines
2.7.4


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel