[PATCH v2] arm64: versal: Remove gd reference

Michal Simek monstr at monstr.eu
Fri Apr 23 08:49:05 CEST 2021


po 19. 4. 2021 v 15:06 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>
> ---
>
> Changes in v2:
> - drop asm/global_data.h - reported by trini
>
>  arch/arm/mach-versal/mp.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-versal/mp.c b/arch/arm/mach-versal/mp.c
> index c97c311d3130..9b0518d6a2cd 100644
> --- a/arch/arm/mach-versal/mp.c
> +++ b/arch/arm/mach-versal/mp.c
> @@ -5,13 +5,10 @@
>   */
>
>  #include <common.h>
> -#include <asm/global_data.h>
>  #include <asm/io.h>
>  #include <asm/arch/hardware.h>
>  #include <asm/arch/sys_proto.h>
>
> -DECLARE_GLOBAL_DATA_PTR;
> -
>  #define HALT           0
>  #define RELEASE                1
>
> --
> 2.31.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


More information about the U-Boot mailing list