[PATCH v2 07/16] imx: imx8mn_evk: Drop DECLARE_GLOBAL_DATA_PTR

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue Jan 7 09:05:07 CET 2025


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

There is no users of global data in imx8mn_evk.c, drop it.

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

diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c
index f20ffbc52501a8a5c3ae9603b04847bab2cbd8dc..1b9dc51978b555256532f22e1cfd317bacee5b37 100644
--- a/board/freescale/imx8mn_evk/imx8mn_evk.c
+++ b/board/freescale/imx8mn_evk/imx8mn_evk.c
@@ -3,13 +3,10 @@
  * Copyright 2019 NXP
  */
 
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <env.h>
 #include <init.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int board_mmc_get_env_dev(int devno)
 {
 	return devno;

-- 
2.35.3



More information about the U-Boot mailing list