[PATCH] arm64: versal: Remove gd reference

Michal Simek michal.simek at xilinx.com
Mon Apr 19 15:05:38 CEST 2021



On 4/19/21 2:30 PM, Tom Rini wrote:
> 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.
> 

You are right. Will send v2.

M


More information about the U-Boot mailing list