Commit fbaff050 authored by Stefan Riedmueller's avatar Stefan Riedmueller Committed by Shawn Guo

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

Add the print of the CPU type and SOC revision during boot.
Signed-off-by: default avatarStefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: default avatarRobert Karszniewicz <r.karszniewicz@phytec.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c7e73b50
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "common.h" #include "common.h"
#include "cpuidle.h" #include "cpuidle.h"
#include "hardware.h"
static void __init imx6ul_enet_clk_init(void) static void __init imx6ul_enet_clk_init(void)
{ {
...@@ -34,6 +35,9 @@ static inline void imx6ul_enet_init(void) ...@@ -34,6 +35,9 @@ static inline void imx6ul_enet_init(void)
static void __init imx6ul_init_machine(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); of_platform_default_populate(NULL, NULL, NULL);
imx6ul_enet_init(); imx6ul_enet_init();
imx_anatop_init(); imx_anatop_init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment