From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brilliantov Kirill Vladimirovich Date: Tue, 04 Oct 2011 10:25:37 +0400 Subject: [U-Boot] [PATCH 1/3] add new PHY chips support Message-ID: <4E8AA6E1.1060207@byterg.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de TexasInstruments Davinci DM365/8 processors havn't 1000Mb/s support. Tested on U-boot 1.3.4 Signed-off-by: Brilliantov Kirill Vladimirovich --- 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