]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx8mn_evk: spl: Drop DECLARE_GLOBAL_DATA_PTR
authorPeng Fan <peng.fan@nxp.com>
Thu, 29 Jan 2026 10:54:07 +0000 (18:54 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 6 Feb 2026 23:29:59 +0000 (20:29 -0300)
There is no user of "gd", so drop DECLARE_GLOBAL_DATA_PTR.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/nxp/imx8mn_evk/spl.c

index f96f5c45789a364275f9f24fe52ac2f18657826e..6554d445a59e65a9863e215d6328e37702a613bb 100644 (file)
@@ -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;