[U-Boot] [PATCH] fsl-layerscape/ls1046a_serdes.c: add 0x3040 serdes1 setting

Maciej Pijanowski maciej.pijanowski at 3mdeb.com
Fri May 31 14:11:35 UTC 2019


According to the table 31-1 in the QorIQ LS1046A Reference Manual,
Rev. 2, 11/2018, the 0x3040 is also a valid setting for the SerDes1.
With the current codebase, following message appears when 0x3040 is
used:

SERDES1[PRTCL] = 0x3040 is not valid

Signed-off-by: Maciej Pijanowski <maciej.pijanowski at 3mdeb.com>

Cc: prabhakar.kushwaha at nxp.com
Cc: piotr.krol at 3mdeb.com
---
 arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
index 91de5ff0d3da..12775c65433b 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
@@ -33,6 +33,7 @@ static struct serdes_config serdes1_cfg_tbl[] = {
 		  SGMII_FM1_DTSEC6} },
 	{0x2223, {SGMII_2500_FM1_DTSEC9, SGMII_2500_FM1_DTSEC10,
 		  SGMII_2500_FM1_DTSEC5, SGMII_FM1_DTSEC6} },
+	{0x3040, {SGMII_FM1_DTSEC9, NONE, QSGMII_FM1_A, NONE} },
 	{}
 };
 
-- 
2.7.4



More information about the U-Boot mailing list