Skip to contentSkip to conversation

arm64: versal: Remove gd reference

PATCH New Michal Simek 2 participants 3 messages Apr 15, 2021 – Apr 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: versal: Remove gd reference

gd is not used in this file that's why doesn't make sense to declare it.

---

 arch/arm/mach-versal/mp.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-versal/mp.c +0 -2
index c97c311d3130..58eab4bdf563 100644
@@ -10,8 +10,6 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define HALT		0
 #define RELEASE		1
 
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/1 arm64: versal: Remove gd reference

Quoted 13 lines · Michal Simek

gd is not used in this file that's why doesn't make sense to declare it.

---

 arch/arm/mach-versal/mp.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-versal/mp.c +0 -0
index c97c311d3130..58eab4bdf563 100644

arch/arm/mach-versal/mp.c line 14

Quoted 7 lines
arch/arm/mach-versal/mp.c +0 -2
@@ -10,8 +10,6 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define HALT		0
 #define RELEASE		1

You should drop <asm/global_data.h> from here too then I believe.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210419/fc37c2cf/attachment.sig>
#2 lore raw

PATCH 1/1 arm64: versal: Remove gd reference

Quoted 18 lines · Tom Rini
Quoted 16 lines · Michal Simek

gd is not used in this file that's why doesn't make sense to declare it.

---

 arch/arm/mach-versal/mp.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-versal/mp.c +0 -0
index c97c311d3130..58eab4bdf563 100644
@@ -10,8 +10,6 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 
Quoted 7 lines

arch/arm/mach-versal/mp.c line 14

Quoted 4 lines
arch/arm/mach-versal/mp.c +0 -2
-DECLARE_GLOBAL_DATA_PTR;
-
 #define HALT		0
 #define RELEASE		1

You should drop <asm/global_data.h> from here too then I believe.

You are right. Will send v2.

M