[U-Boot] ??: [PATCH v2] include/linux/mii.h: update for supporting GE
macpaul at andestech.com
macpaul at andestech.com
Fri Jan 21 08:26:06 CET 2011
Dear Wolfgang,
> /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:
> 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
> ...
I've found that the problem is because uec_phy.c defined these gigabit
related definitions since they might be ported from Linux kernel.
The redifinition in uec_phy.c should be removed, however I can send
the patch for fixing this but I need to get a proper ppc cross-compiler.
I will check these stuff after I found and download the ppc cross compiler.
Just send a note to mailist.
Best regards,
Macpaul Lin
More information about the U-Boot
mailing list