[U-Boot] [PATCH v2] include/linux/mii.h: update for supporting GE
Kumar Gala
galak at kernel.crashing.org
Fri Jan 21 09:04:51 CET 2011
On Jan 21, 2011, at 1:09 AM, Wolfgang Denk wrote:
> Dear Macpaul Lin,
>
> In message <1291355554-18586-1-git-send-email-macpaul at andestech.com> you wrote:
>> This file has been synced (copy) from Linux source code.
>> This commit was based on kernel 2.6.32.
>> It updates gigabit related phy registers and basic definitions.
>>
>> Signed-off-by: Macpaul Lin <macpaul at andestech.com>
>> ---
>> Change v1: pull header file from Linux.
>> Change v2: clean up unused code for u-boot.
>>
>> include/linux/mii.h | 181 ++++++++++++++++++++++++++++++---------------------
>> 1 files changed, 107 insertions(+), 74 deletions(-)
>
> This patch causes build warnings for a number of boards, for example:
>
> Configuring for MPC8568MDS board...
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec.c:32:
> /home/wd/git/u-boot/work/include/linux/mii.h:133:1: warning: "LPA_1000FULL" redefined
> In file included from uec.c:31:
> uec_phy.h:34:1: warning: this is the location of the previous definition
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec.c:32:
> /home/wd/git/u-boot/work/include/linux/mii.h:134:1: warning: "LPA_1000HALF" redefined
> In file included from uec.c:31:
> uec_phy.h:35:1: warning: this is the location of the previous definition
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec_phy.c:27:
> /home/wd/git/u-boot/work/include/linux/mii.h:133:1: warning: "LPA_1000FULL" redefined
> In file included from uec_phy.c:26:
> uec_phy.h:34:1: warning: this is the location of the previous definition
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec_phy.c:27:
> /home/wd/git/u-boot/work/include/linux/mii.h:134:1: warning: "LPA_1000HALF" redefined
> In file included from uec_phy.c:26:
> uec_phy.h:35:1: warning: this is the location of the previous definition
> text data bss dec hex filename
> 238866 22824 25252 286942 460de /work/wd/tmp-ppc/u-boot
> Configuring for MPC8569MDS board...
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec.c:32:
> /home/wd/git/u-boot/work/include/linux/mii.h:133:1: warning: "LPA_1000FULL" redefined
> In file included from uec.c:31:
> uec_phy.h:34:1: warning: this is the location of the previous definition
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec.c:32:
> /home/wd/git/u-boot/work/include/linux/mii.h:134:1: warning: "LPA_1000HALF" redefined
> In file included from uec.c:31:
> uec_phy.h:35:1: warning: this is the location of the previous definition
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec_phy.c:27:
> /home/wd/git/u-boot/work/include/linux/mii.h:133:1: warning: "LPA_1000FULL" redefined
> In file included from uec_phy.c:26:
> uec_phy.h:34:1: warning: this is the location of the previous definition
> In file included from /home/wd/git/u-boot/work/include/miiphy.h:37,
> from uec_phy.c:27:
> /home/wd/git/u-boot/work/include/linux/mii.h:134:1: warning: "LPA_1000HALF" redefined
> In file included from uec_phy.c:26:
> uec_phy.h:35:1: warning: this is the location of the previous definition
> text data bss dec hex filename
> 327682 28828 230568 587078 8f546 /work/wd/tmp-ppc/u-boot
> ...
>
> etc. etc.
>
>
> Please fix.
>
> Best regards,
>
> Wolfgang Denk
I posted a fix for this:
http://patchwork.ozlabs.org/patch/79439/
- k
More information about the U-Boot
mailing list