[U-Boot] [PATCH 1/3] add new PHY chips support

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 }

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,
participants (2)
-
Albert ARIBAUD
-
Brilliantov Kirill Vladimirovich