[U-Boot] [PATCH 1/2][v2] powerpc/t2080qds: fixup dtb for 10g-kr

York Sun yorksun at freescale.com
Tue Nov 25 18:44:03 CET 2014


On 10/20/2014 04:48 AM, Shaohui Xie wrote:
> XFI ports on t2080qds can work with fiber cable and direct attach
> cable(copper). We use hwconfig to define cable type for XFI, and fixup
> dtb based on the cable type.
> 
> For copper cable, set below env in hwconfig:
> 
> fsl_10gkr_copper:<10g_mac_name>
> 
> the <10g_mac_name> can be fm1_10g1, fm1_10g2, fm1_10g3, fm1_10g4.
> fm1_10g1 stands for FM1-MAC9, fm1_10g2 stands for FM1-MAC10, fm1_10g3
> stands for FM1-MAC1, fm1_10g4 stands for FM1-MAC2. The four
> <10g_mac_name>s do not have to be coexist in hwconfig. For XFI ports, if
> a given 10G port will use the copper cable for 10GBASE-KR, set the
> <10g_mac_name> of the port in hwconfig, otherwise, fiber cable will be
> assumed to be used for the port.
> 
> For ex. if four XFI ports will both use copper cable, the hwconfig
> should contain:
> 
> fsl_10gkr_copper:fm1_10g1,fm1_10g2,fm1_10g3,fm1_10g4
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie at freescale.com>
> ---
> changes for V2:
> add XFI description in t208xqds README.
>  board/freescale/t208xqds/README         | 23 ++++++++-
>  board/freescale/t208xqds/eth_t208xqds.c | 86 +++++++++++++++++++++++++++++----
>  2 files changed, 98 insertions(+), 11 deletions(-)
> 

Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks.

York



More information about the U-Boot mailing list