[PATCH 10/12] imx8mq_evk: spl: Drop DECLARE_GLOBAL_DATA_PTR
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Jan 22 02:05:53 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/imx8mq_evk/spl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/imx8mq_evk/spl.c b/board/freescale/imx8mq_evk/spl.c
index a346305c863..5116d806bb6 100644
--- a/board/freescale/imx8mq_evk/spl.c
+++ b/board/freescale/imx8mq_evk/spl.c
@@ -9,7 +9,6 @@
#include <image.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <errno.h>
#include <asm/io.h>
@@ -30,8 +29,6 @@
#include <spl.h>
#include "../common/pfuze.h"
-DECLARE_GLOBAL_DATA_PTR;
-
extern struct dram_timing_info dram_timing_b0;
static void spl_dram_init(void)
--
2.51.0
More information about the U-Boot
mailing list