]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: zynqmp: Remove gd reference
authorMichal Simek <michal.simek@xilinx.com>
Mon, 26 Apr 2021 06:26:33 +0000 (08:26 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 29 Apr 2021 12:48:31 +0000 (14:48 +0200)
gd is not used in this file that's why doesn't make sense to declare it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/zynqmp_gqspi.c

index f8d13d193e308581f5f4ce8c46966b2f8bb8b0d4..17780066ae45498731b35348928e7ef9e5d9d22e 100644 (file)
@@ -10,7 +10,6 @@
 #include <log.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/cache.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <dm.h>
@@ -156,8 +155,6 @@ struct zynqmp_qspi_dma_regs {
        u32 dmadstmsb;  /* 0x28 */
 };
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct zynqmp_qspi_plat {
        struct zynqmp_qspi_regs *regs;
        struct zynqmp_qspi_dma_regs *dma_regs;