From: Peng Fan <[email protected]> There is no user of "gd", so drop DECLARE_GLOBAL_DATA_PTR.
Signed-off-by: Peng Fan <[email protected]> --- board/freescale/imx8mn_evk/spl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/freescale/imx8mn_evk/spl.c b/board/freescale/imx8mn_evk/spl.c index f96f5c45789..6554d445a59 100644 --- a/board/freescale/imx8mn_evk/spl.c +++ b/board/freescale/imx8mn_evk/spl.c @@ -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; -- 2.51.0

