summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-01-29 18:54:05 +0800
committerFabio Estevam <[email protected]>2026-02-06 20:29:59 -0300
commit649a52aeb92a5a6b8fdc09eef5f3bcb45c2b11c7 (patch)
treed5875b6aab1a7f885bd67901751d28bc3baae2a0
parent4ea79496b01f2c4bd8dbbc992b439b791e0a5c7f (diff)
imx8mp_evk: spl: Drop DECLARE_GLOBAL_DATA_PTR
There is no user of "gd", so drop DECLARE_GLOBAL_DATA_PTR. Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--board/nxp/imx8mp_evk/spl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/nxp/imx8mp_evk/spl.c b/board/nxp/imx8mp_evk/spl.c
index 552bf689228..4e6a5830b07 100644
--- a/board/nxp/imx8mp_evk/spl.c
+++ b/board/nxp/imx8mp_evk/spl.c
@@ -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;