Re: [U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-31 Thread Kevin Du Huanpeng
Hi, Yamada, thanks for your reply, your reasons for keep this are: 1. 973/6535 = 10.60% in your opinion, 10.60 % is good. - - - - du@sailor:~/u-boot$ grep -R DECLARE_GLOBAL_DATA_PTR ./ | wc -l 973 du@sailor:~/openas/u-boot$ find -name "*.[chS]" | wc -l 6535 - - - - 2. a source file should only in

Re: [U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-31 Thread Masahiro Yamada
Hi Kevin. On Fri, 31 Oct 2014 13:04:38 +0800 Kevin Du Huanpeng wrote: > Hi, all, > I find this macro is found anywhere in the source, nearly one thousand > in the source, looks odd sometime. Only one thousand. We have more than 6000 source files. yamada@beagle:~/workspace/u-boot$ find . -name

[U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-30 Thread Kevin Du Huanpeng
Hi, all, I find this macro is found anywhere in the source, nearly one thousand in the source, looks odd sometime. I have a idea about this: 1. remove DECLARE_GLOBAL_DATA_PTR from source about one thousand DECLARE_GLOBAL_DATA_PTR in the source 2. add a file like, same as other archs. arch/arm