diff options
author | Michal Simek <michal.simek@xilinx.com> | 2021-04-26 09:26:33 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-04-29 15:48:31 +0300 |
commit | b00bad9dc81ee0337761cc50443dffa22a6cdedf (patch) | |
tree | 379f4e963f7405c366d9c933a3a1cf9608a51e30 /drivers/spi/zynqmp_gqspi.c | |
parent | 0a9f0e0d00e0e8b2c5b6a2ae844c5ebca684616f (diff) | |
download | u-boot-b00bad9dc81ee0337761cc50443dffa22a6cdedf.tar.xz |
spi: zynqmp: Remove gd reference
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>
Diffstat (limited to 'drivers/spi/zynqmp_gqspi.c')
-rw-r--r-- | drivers/spi/zynqmp_gqspi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index f8d13d193e..17780066ae 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -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; |