[PATCH v2] arm64: versal: Remove gd reference

Michal Simek michal.simek at xilinx.com
Mon Apr 19 15:06:21 CEST 2021


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



More information about the U-Boot mailing list