]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: lx2160a.c: Update to set ECx_PMUX precedence
authorRazvan Ionut Cirjan <razvanionut.cirjan@nxp.com>
Fri, 23 Oct 2020 10:50:38 +0000 (16:20 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 23 Oct 2020 11:22:09 +0000 (16:52 +0530)
commitc760095adbf222aefba00404b38a25bf5dee0909
tree966a0b2a3362803a6530e1f64a394517767ee5b0
parentd5d6b548d950385cb66e1fa97ad5f6790bbca3ad
net: lx2160a.c: Update to set ECx_PMUX precedence

As per hardware documentation, ECx_PMUX has precedence
over SerDes protocol.
For LX2160/LX2162 if DPMACs 17 and 18 are enabled as SGMII
through SerDes protocol but ECx_PMUX configured them as RGMII,
then the ports will be configured as RGMII and not SGMII.

Signed-off-by: Razvan Ionut Cirjan <razvanionut.cirjan@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h
drivers/net/ldpaa_eth/lx2160a.c