[PATCH v3 07/17] imx: imx8mn_evk: Drop DECLARE_GLOBAL_DATA_PTR

Peng Fan (OSS)
2025-01-09T02:24:28Z

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

Signed-off-by: Peng Fan <peng.fan@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