]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx8mp_evk: spl: Drop DECLARE_GLOBAL_DATA_PTR
authorPeng Fan <peng.fan@nxp.com>
Thu, 29 Jan 2026 10:54:05 +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/imx8mp_evk/spl.c

index 552bf689228b3f08738b912b72be4e01eb3afde2..4e6a5830b07127f36888b18dbd9de5e073c257b1 100644 (file)
@@ -8,7 +8,6 @@
 #include <init.h>
 #include <log.h>
 #include <spl.h>
-#include <asm/global_data.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
@@ -18,8 +17,6 @@
 #include <dm/uclass.h>
 #include <dm/device.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int spl_board_boot_device(enum boot_device boot_dev_spl)
 {
        return BOOT_DEVICE_BOOTROM;