st 11. 9. 2019 v 10:10 odesílatel Michal Simek <[email protected]> napsal:
>
> GD is not used anywhere that's why there is no reason to have this macro
> in the driver.
>
> Signed-off-by: Michal Simek <[email protected]>
> ---
>
>  drivers/net/zynq_gem.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
> index 033efb819569..a2ed50fa1e55 100644
> --- a/drivers/net/zynq_gem.c
> +++ b/drivers/net/zynq_gem.c
> @@ -26,8 +26,6 @@
>  #include <asm/arch/sys_proto.h>
>  #include <linux/errno.h>
>
> -DECLARE_GLOBAL_DATA_PTR;
> -
>  /* Bit/mask specification */
>  #define ZYNQ_GEM_PHYMNTNC_OP_MASK      0x40020000 /* operation mask bits */
>  #define ZYNQ_GEM_PHYMNTNC_OP_R_MASK    0x20000000 /* read operation */
> --
> 2.17.1
>

Applied.
M

-- 
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
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to