public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] add new PHY chips support
@ 2011-10-04  6:25 Brilliantov Kirill Vladimirovich
  2011-10-21 18:48 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Brilliantov Kirill Vladimirovich @ 2011-10-04  6:25 UTC (permalink / raw)
  To: u-boot

TexasInstruments Davinci DM365/8 processors havn't 1000Mb/s support.
Tested on U-boot 1.3.4

Signed-off-by: Brilliantov Kirill Vladimirovich <brilliantov@byterg.ru>
---
  cpu/arm926ejs/davinci/ether.c |    7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/cpu/arm926ejs/davinci/ether.c b/cpu/arm926ejs/davinci/ether.c
index 6dfa955..13292e1 100644
--- a/cpu/arm926ejs/davinci/ether.c
+++ b/cpu/arm926ejs/davinci/ether.c
@@ -382,6 +382,7 @@ static int davinci_eth_hw_init(void)
         }

         phy_id |= tmp & 0x0000ffff;
+       debug_emac("phy_id %#x\n", phy_id);

         switch (phy_id) {
                 case PHY_LXT972:
@@ -528,7 +529,7 @@ static int davinci_eth_open(void)
         if (!phy.get_link_speed(active_phy_addr))
                 return(0);
         else {
-#if defined(CFG_DM6467_EVM) || defined(CFG_DM365_EVM) || 
defined(CFG_DM365_IPNC) || defined(CFG_DM368_IPNC)
+#if defined(CFG_DM6467_EVM)
                 emac_gigabit_enable();
  #endif
         }
@@ -623,7 +624,7 @@ static int davinci_eth_send_packet (volatile void 
*packet, int length)
                 return (ret_status);
         }
         else {
-#if defined(CFG_DM6467_EVM) || defined(CFG_DM365_EVM) || 
defined(CFG_DM365_IPNC) || defined(CFG_DM368_IPNC)
+#if defined(CFG_DM6467_EVM)
                 emac_gigabit_enable();
  #endif
         }
@@ -651,7 +652,7 @@ static int davinci_eth_send_packet (volatile void 
*packet, int length)
                         return (ret_status);
                 }
                 else {
-#if defined(CFG_DM6467_EVM) || defined(CFG_DM365_EVM) || 
defined(CFG_DM365_IPNC) || defined(CFG_DM368_IPNC)
+#if defined(CFG_DM6467_EVM)
                         emac_gigabit_enable();
  #endif
                 }
-- 

-- 
? ?????????,
??????????? ?????? ????????????
?????????????????????????
???????????, ??????????? ?????
??? ?????????
??????????? ??? ? ????????????? ???????? ???????
?????????????????????????
+7(495)221-66-22
http://www.byterg.ru    http://www.bestdvr.ru

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH 1/3] add new PHY chips support
  2011-10-04  6:25 [U-Boot] [PATCH 1/3] add new PHY chips support Brilliantov Kirill Vladimirovich
@ 2011-10-21 18:48 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2011-10-21 18:48 UTC (permalink / raw)
  To: u-boot

Hi Brilliantov (or is it Kirill? Apologies for any mistake here)

Le 04/10/2011 08:25, Brilliantov Kirill Vladimirovich a ?crit :
> TexasInstruments Davinci DM365/8 processors havn't 1000Mb/s support.
> Tested on U-boot 1.3.4

For the sake of completeness (other patches by you have been NAKed for 
the same reason, but I haven't seen this one mentioned), this patch will 
need testing on a recent u-boot. 1.3.4 is far too old.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-21 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04  6:25 [U-Boot] [PATCH 1/3] add new PHY chips support Brilliantov Kirill Vladimirovich
2011-10-21 18:48 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox