diff mbox

[U-Boot] net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other

Message ID 1338950346-2769-1-git-send-email-iwamatsu@nigauri.org
State Accepted
Commit a6616efb23ccc753a4cf40283d014e0ee4ffa521
Delegated to: Joe Hershberger
Headers show

Commit Message

Nobuhiro Iwamatsu June 6, 2012, 2:39 a.m. UTC
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>
---
 drivers/net/sh_eth.h |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Comments

Yoshihiro Shimoda June 21, 2012, 7:13 a.m. UTC | #1
Hi,

2012/06/06 11:39, Nobuhiro Iwamatsu wrote:
> 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>

I tested this patch. And, it is good.

Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda
Nobuhiro Iwamatsu June 26, 2012, 4:18 a.m. UTC | #2
Hi,

Joe, could you pick-up ths patch to your network repository?
This is bug fix to 201207.

Best regards,
  Nobuhiro

2012/6/21 Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>:
> Hi,
>
> 2012/06/06 11:39, Nobuhiro Iwamatsu wrote:
>> 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>
>
> I tested this patch. And, it is good.
>
> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>
> Best regards,
> Yoshihiro Shimoda
Joe Hershberger June 26, 2012, 6:03 p.m. UTC | #3
Hi Nobuhiro Iwamatsu,

On Mon, Jun 25, 2012 at 11:18 PM, Nobuhiro Iwamatsu
<iwamatsu@nigauri.org> wrote:
> Hi,
>
> Joe, could you pick-up ths patch to your network repository?
> This is bug fix to 201207.

Yes.

-Joe
Joe Hershberger June 26, 2012, 6:08 p.m. UTC | #4
On Tue, Jun 26, 2012 at 1:03 PM, Joe Hershberger
<joe.hershberger@gmail.com> wrote:
> Hi Nobuhiro Iwamatsu,
>
> On Mon, Jun 25, 2012 at 11:18 PM, Nobuhiro Iwamatsu
> <iwamatsu@nigauri.org> wrote:
>> Hi,
>>
>> Joe, could you pick-up ths patch to your network repository?
>> This is bug fix to 201207.
>
> Yes.

Applied, thanks.

-Joe
diff mbox

Patch

diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h
index a1ba68b..50f4b69 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)