aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek2021-04-26 08:26:33 +0200
committerMichal Simek2021-04-29 14:48:31 +0200
commitb00bad9dc81ee0337761cc50443dffa22a6cdedf (patch)
tree379f4e963f7405c366d9c933a3a1cf9608a51e30 /drivers
parent0a9f0e0d00e0e8b2c5b6a2ae844c5ebca684616f (diff)
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')
-rw-r--r--drivers/spi/zynqmp_gqspi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
index f8d13d193e3..17780066ae4 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;