[PATCH] arm64: versal: Remove gd reference
Tom Rini
trini at konsulko.com
Mon Apr 19 14:30:23 CEST 2021
On Thu, Apr 15, 2021 at 11:16:31AM +0200, Michal Simek wrote:
> 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>
> ---
>
> arch/arm/mach-versal/mp.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mach-versal/mp.c b/arch/arm/mach-versal/mp.c
> index c97c311d3130..58eab4bdf563 100644
> --- a/arch/arm/mach-versal/mp.c
> +++ b/arch/arm/mach-versal/mp.c
> @@ -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.
--
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>
More information about the U-Boot
mailing list