imx8mn_evk: spl: Drop DECLARE_GLOBAL_DATA_PTR

There is no user of "gd", so drop DECLARE_GLOBAL_DATA_PTR.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan
2026-01-29 18:54:07 +08:00
committed by Fabio Estevam
parent 652830fa0b
commit e590536a09

View 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;