[PATCH 04/13] imx93_evk: Drop DECLARE_GLOBAL_DATA_PTR

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


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

No user of "gd" in this file, drop DECLARE_GLOBAL_DATA_PTR.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 board/freescale/imx93_evk/imx93_evk.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/board/freescale/imx93_evk/imx93_evk.c b/board/freescale/imx93_evk/imx93_evk.c
index 4c58272523a..0278ef9805f 100644
--- a/board/freescale/imx93_evk/imx93_evk.c
+++ b/board/freescale/imx93_evk/imx93_evk.c
@@ -6,13 +6,10 @@
 #include <env.h>
 #include <efi_loader.h>
 #include <init.h>
-#include <asm/global_data.h>
 #include <asm/arch/sys_proto.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
 #define IMX_BOOT_IMAGE_GUID \
 	EFI_GUID(0xbc550d86, 0xda26, 0x4b70, 0xac, 0x05, \

-- 
2.51.0



More information about the U-Boot mailing list