From: Nobuhiro Iwamatsu Date: Tue, 5 Jun 2012 16:39:06 +0000 (+0000) Subject: net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other X-Git-Tag: v2025.01-rc5-pxa1908~17673^2~35^2~12 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=a6616efb23ccc753a4cf40283d014e0ee4ffa521;p=u-boot.git net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other When support sh7734 of sh-ether, ECSIPR_BRCRXIP and other were removed. Therefore SH7757 and SH7724 can not build. This revise this probelem. Signed-off-by: Nobuhiro Iwamatsu Tested-by: Yoshihiro Shimoda --- diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h index a1ba68b1b4..50f4b69cd3 100644 --- a/drivers/net/sh_eth.h +++ b/drivers/net/sh_eth.h @@ -452,17 +452,16 @@ enum ECSR_STATUS_BIT { /* ECSIPR */ enum ECSIPR_STATUS_MASK_BIT { -#if defined(CONFIG_CPU_SH7724) +#if defined(CONFIG_CPU_SH7724) || defined(CONFIG_CPU_SH7757) + ECSIPR_BRCRXIP = 0x20, ECSIPR_PSRTOIP = 0x10, - ECSIPR_LCHNGIP = 0x04, - ECSIPR_ICDIP = 0x01, #elif defined(CONFIG_CPU_SH7763) || defined(CONFIG_CPU_SH7734) ECSIPR_PSRTOIP = 0x10, ECSIPR_PHYIP = 0x08, +#endif ECSIPR_LCHNGIP = 0x04, ECSIPR_MPDIP = 0x02, ECSIPR_ICDIP = 0x01, -#endif }; #if defined(CONFIG_CPU_SH7763) || defined(CONFIG_CPU_SH7734)