All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: zynqmp: Remove gd reference
@ 2021-04-26  6:27 Michal Simek
  2021-04-29 12:47 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2021-04-26  6:27 UTC (permalink / raw)
  To: u-boot

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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
index 900cb2610c7f..eee8e9df0f7d 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;
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] spi: zynqmp: Remove gd reference
  2021-04-26  6:27 [PATCH] spi: zynqmp: Remove gd reference Michal Simek
@ 2021-04-29 12:47 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2021-04-29 12:47 UTC (permalink / raw)
  To: u-boot

po 26. 4. 2021 v 8:28 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> 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 | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
> index 900cb2610c7f..eee8e9df0f7d 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;
> --
> 2.31.1
>

Applied.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-29 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26  6:27 [PATCH] spi: zynqmp: Remove gd reference Michal Simek
2021-04-29 12:47 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.