[PATCH] ARM: i.MX: boards: Use imx6_cpu_lowlevel_init()

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 17 02:44:20 PDT 2023


Some i.MX6 boards still call arm_cpu_lowlevel_init() instead of
imx6_cpu_lowlevel_init(). The latter calls arm_cpu_lowlevel_init()
and additionally enables ARM errata workarounds applicable for i.MX6.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/boards/cm-fx6/lowlevel.c    | 4 ++--
 arch/arm/boards/skov-imx6/lowlevel.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/cm-fx6/lowlevel.c b/arch/arm/boards/cm-fx6/lowlevel.c
index 27c15f5412..3b8014b238 100644
--- a/arch/arm/boards/cm-fx6/lowlevel.c
+++ b/arch/arm/boards/cm-fx6/lowlevel.c
@@ -334,7 +334,7 @@ static noinline void cm_fx6_start(void)
 
 ENTRY_FUNCTION(start_imx6_cm_fx6, r0, r1, r2)
 {
-	arm_cpu_lowlevel_init();
+	imx6_cpu_lowlevel_init();
 
 	relocate_to_current_adr();
 	setup_c();
@@ -361,7 +361,7 @@ static noinline void utilite_start(void)
 
 ENTRY_FUNCTION(start_imx6_utilite, r0, r1, r2)
 {
-	arm_cpu_lowlevel_init();
+	imx6_cpu_lowlevel_init();
 
 	relocate_to_current_adr();
 	setup_c();
diff --git a/arch/arm/boards/skov-imx6/lowlevel.c b/arch/arm/boards/skov-imx6/lowlevel.c
index ea6de36a36..68a656b7fd 100644
--- a/arch/arm/boards/skov-imx6/lowlevel.c
+++ b/arch/arm/boards/skov-imx6/lowlevel.c
@@ -658,7 +658,7 @@ static noinline void skov_imx6_start(void)
 
 ENTRY_FUNCTION(start_imx6_skov_imx6, r0, r1, r2)
 {
-	arm_cpu_lowlevel_init();
+	imx6_cpu_lowlevel_init();
 
 	relocate_to_current_adr();
 	setup_c();
-- 
2.30.2




More information about the barebox mailing list