From: Peng Fan <[email protected]>

There is no user of "gd", so drop DECLARE_GLOBAL_DATA_PTR.

Signed-off-by: Peng Fan <[email protected]>
---
 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

Reply via email to