[PATCH] spi: zynqmp: Remove gd reference

Michal Simek monstr at monstr.eu
Thu Apr 29 14:47:47 CEST 2021


po 26. 4. 2021 v 8:28 odesílatel Michal Simek <michal.simek at 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 at 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


More information about the U-Boot mailing list