arm64: versal: Remove gd reference
Subsystems (2)
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.
Signed-off-by Michal Simek <[email protected]>
---
arch/arm/mach-versal/mp.c | 2 -- 1 file changed, 2 deletions(-)
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
Signature · 1 line
2.31.1
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.
Signed-off-by Michal Simek <[email protected]>---
arch/arm/mach-versal/mp.c | 2 -- 1 file changed, 2 deletions(-)arch/arm/mach-versal/mp.c +0
-0
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>
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.
Signed-off-by Michal Simek <[email protected]>---
arch/arm/mach-versal/mp.c | 2 -- 1 file changed, 2 deletions(-)arch/arm/mach-versal/mp.c +0
-0@@ -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 1You should drop <
asm/global_data.h> from here too then I believe.
You are right. Will send v2.
M