[PATCH v2] arm64: versal: 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 ---
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

po 19. 4. 2021 v 15:06 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
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
participants (2)
-
Michal Simek
-
Michal Simek