[PATCH 11/12] imx93_frdm: Drop DECLARE_GLOBAL_DATA_PTR
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Jan 22 02:05:54 CET 2026
From: Peng Fan <peng.fan at nxp.com>
There is no user of "gd", so drop DECLARE_GLOBAL_DATA_PTR.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
board/freescale/imx93_frdm/imx93_frdm.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/imx93_frdm/imx93_frdm.c b/board/freescale/imx93_frdm/imx93_frdm.c
index cfbcde2e1a5..d97720795d6 100644
--- a/board/freescale/imx93_frdm/imx93_frdm.c
+++ b/board/freescale/imx93_frdm/imx93_frdm.c
@@ -7,7 +7,6 @@
#include <efi_loader.h>
#include <i2c.h>
#include <init.h>
-#include <asm/global_data.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch-imx9/imx93_pins.h>
#include <asm/arch/clock.h>
@@ -15,8 +14,6 @@
#include <dm/device.h>
#include <dm/uclass.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if IS_ENABLED(CONFIG_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