[U-Boot] [PATCH v7 1/5] core support of arm64

Tom Rini trini at ti.com
Thu Sep 12 16:04:15 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/11/2013 09:39 AM, FengHua wrote:
> hi Rob, Thank you for your checking of this patch.
> 
>> -----原始邮件----- 发件人: "Rob Herring" <robherring2 at gmail.com> 发送时间:
>> 2013年9月11日 星期三 收件人: fenghua at phytium.com.cn 抄送:
>> u-boot at lists.denx.de, trini at ti.com 主题: Re: [U-Boot] [PATCH v7
>> 1/5] core support of arm64
>> 
>> On 09/10/2013 03:12 AM, fenghua at phytium.com.cn wrote:
[snip]
>>> +++ b/arch/arm/cpu/armv8/cache_v8.c
[snip]
>>> +#include <common.h> +#include <asm/system.h> +#include
>>> <asm/arch/mmu.h>
[snip]
>>> +/* + * Stub implementations for outer cache operations + */ 
>>> +void __v8_outer_cache_enable(void) {} +void
>>> v8_outer_cache_enable(void) +	__attribute__((weak,
>>> alias("__v8_outer_cache_enable")));
>> 
>> These can just be:
>> 
>> void __weak v8_outer_cache_enable(void) {}
>> 
> This format do not works at aarch64-gcc.

This file (and the others doing weak attributes) just needs to add
<linux/compiler.h>

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSMcnfAAoJENk4IS6UOR1W/b0P/3dwyBIhPbKypNt58cqSz29W
2qCC2IoQZmCyEVRTH/2hLwr1Bw6VZknZovDd2TV959oCUULfScTeOTlgUoqaXDSJ
aVBVfHf9uZWU7aCqVYsyIu1hAHfN82LCVsKIF6uJvHAo4h8rr1x7MeFTi5tmssST
UgWW3xZKeElI8pWwNnSVaAb1yY7X91LbHOCoVP2zbd/k0mxdjHvihIcaxSLv8iTp
vrOJCLBeHj6lpYP9Q68QzDeV0i9XFUyCEIwdF4n/9xTjnvVB6Q+PFAxKfZTCowyp
rnhpMK0wvvKDSg+B2JHdLrUH9RxElfcS1EocRmeku36zH9DEeUzMO2G4W7e+A0YE
E4gL3GsXN3UdLBGCOC1xdV9wAZSM+Mj3bGTExnPhsE0waF70JlDwjyIiGNhtrqfl
+l1Nh8icw6Os4CNDKSS+y8DjNhptlNXoxYxWb/HZP92+jU4mZ95H4Pei8zAfJD50
pvoNhu8jO3gxxG4MzJ6baSpT8tuBerSCISUi22IrJxnztxkiP4EjX7pVFWVhN/Cf
cI5zksWGHoSx+/3vDFYm/p9L5wiA9jAlcGNvE2nAYEtZxS6oEeXY1UrCbpCVMnrv
A7S6YkPUbyRhqjVl0Jwg3HPTJkqp1beOFURFKYsYtL8OM1rRG2rkvcF31uhleSG7
fM0pk3vlasNCp813iR5u
=CWhV
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list