[PATCH 05/12] imx8mn_evk: spl: Drop DECLARE_GLOBAL_DATA_PTR
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Jan 22 02:05:48 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/imx8mn_evk/spl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/imx8mn_evk/spl.c b/board/freescale/imx8mn_evk/spl.c
index f96f5c45789..6554d445a59 100644
--- a/board/freescale/imx8mn_evk/spl.c
+++ b/board/freescale/imx8mn_evk/spl.c
@@ -11,7 +11,6 @@
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm/arch/clock.h>
@@ -32,8 +31,6 @@
#include <fsl_esdhc_imx.h>
#include <mmc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
--
2.51.0
More information about the U-Boot
mailing list