* [PATCH] ARM: mach-imx: imx6ul: Print SOC revision on boot
@ 2020-12-09 17:20 Robert Karszniewicz
2021-01-07 3:25 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Robert Karszniewicz @ 2020-12-09 17:20 UTC (permalink / raw)
To: Shawn Guo, Sascha Hauer, linux-arm-kernel
Cc: Peng Fan, Stefan Riedmueller, Anson Huang, Russell King,
NXP Linux Team, Pengutronix Kernel Team, Robert Karszniewicz,
Fabio Estevam
From: Stefan Riedmueller <s.riedmueller@phytec.de>
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>
---
arch/arm/mach-imx/mach-imx6ul.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c
index e018e716735f..fb6d164a49f4 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)
{
@@ -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();
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ARM: mach-imx: imx6ul: Print SOC revision on boot
2020-12-09 17:20 [PATCH] ARM: mach-imx: imx6ul: Print SOC revision on boot Robert Karszniewicz
@ 2021-01-07 3:25 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2021-01-07 3:25 UTC (permalink / raw)
To: Robert Karszniewicz
Cc: Peng Fan, Stefan Riedmueller, Anson Huang, Sascha Hauer,
Russell King, NXP Linux Team, Pengutronix Kernel Team,
Fabio Estevam, linux-arm-kernel
On Wed, Dec 09, 2020 at 06:20:23PM +0100, Robert Karszniewicz wrote:
> From: Stefan Riedmueller <s.riedmueller@phytec.de>
>
> 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>
Applied, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-07 3:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09 17:20 [PATCH] ARM: mach-imx: imx6ul: Print SOC revision on boot Robert Karszniewicz
2021-01-07 3:25 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).