[U-Boot] [PATCH] net: sh_eth: Fix build warnings and whitespace for sh_eth
Mike Frysinger
vapier at gentoo.org
Wed Feb 22 06:30:33 CET 2012
On Tuesday 21 February 2012 20:20:39 Nobuhiro Iwamatsu wrote:
> I built with ecovec board.
>
> you can check command following :
> make CROSS_COMPILE=sh-linux-gnu- ecovec_config
> make CROSS_COMPILE=sh-linux-gnu-
that board doesn't build for me:
$ make CROSS_COMPILE=sh4-gentoo-linux-gnu- ecovec -s -j4
Configuring for ecovec board...
Generating include/generated/asm-offsets.h
time.c: In function 'get_ticks':
time.c:111:16: warning: variable 'ticks' set but not used [-Wunused-but-set-
variable]
sh_i2c.c:55:13: warning: 'irq_wait' defined but not used [-Wunused-function]
sh_eth.c: In function 'sh_eth_send':
sh_eth.c:79:2: warning: implicit declaration of function 'EDTRR' [-Wimplicit-
function-declaration]
sh_eth.c: In function 'sh_eth_recv':
sh_eth.c:133:2: warning: implicit declaration of function 'EDRRR' [-Wimplicit-
function-declaration]
....
and indeed, when i look at sh_eth.h in mainline, there is logic for
CONFIG_CPU_SH7763 and CONFIG_CPU_SH7757, but not for CONFIG_CPU_SH7724. i
guess you're using changes that aren't in mainline yet to make this board
build.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120222/eda75b82/attachment.pgp>
More information about the U-Boot
mailing list