]> git.sur5r.net Git - u-boot/commitdiff
net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 5 Jun 2012 16:39:06 +0000 (16:39 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 10 Jul 2012 15:12:03 +0000 (10:12 -0500)
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 <iwamatsu@nigauri.org>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
drivers/net/sh_eth.h

index a1ba68b1b49d3d38c1cae5b63e8ac83db2c25acd..50f4b69cd312caa547430cdc770be3b4aef828d4 100644 (file)
@@ -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)