From: Mike Frysinger Date: Wed, 22 Feb 2012 00:30:33 -0500 Subject: [U-Boot] [PATCH] net: sh_eth: Fix build warnings and whitespace for sh_eth In-Reply-To: References: <1328254249-2121-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> <201202151025.01554.vapier@gentoo.org> Message-ID: <201202220030.34887.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: