[PATCH 10/13] imx95/4_evk: Add missing header

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Jan 8 12:06:55 CET 2026


From: Peng Fan <peng.fan at nxp.com>

Include asm/global_data.h for using DECLARE_GLOBAL_DATA_PTR.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 board/freescale/imx94_evk/spl.c | 1 +
 board/freescale/imx95_evk/spl.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/board/freescale/imx94_evk/spl.c b/board/freescale/imx94_evk/spl.c
index 0aa75ea907e..797806a8d4d 100644
--- a/board/freescale/imx94_evk/spl.c
+++ b/board/freescale/imx94_evk/spl.c
@@ -7,6 +7,7 @@
 #include <init.h>
 #include <spl.h>
 #include <asm/gpio.h>
+#include <asm/global_data.h>
 #include <asm/sections.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/mu.h>
diff --git a/board/freescale/imx95_evk/spl.c b/board/freescale/imx95_evk/spl.c
index 90c7429272b..752d7f916b6 100644
--- a/board/freescale/imx95_evk/spl.c
+++ b/board/freescale/imx95_evk/spl.c
@@ -6,6 +6,7 @@
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
+#include <asm/global_data.h>
 #include <asm/sections.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/mu.h>

-- 
2.51.0



More information about the U-Boot mailing list