[PATCH v2] armv8: fsl-layerscape: LS1084A: Fix DPMAC1 support

Pramod Kumar pramod.kumar_1 at nxp.com
Thu Jan 9 09:53:59 CET 2020


LS1088A has four personalities, LS1088A, LS1084A, LS1048A and LS1044A.
LS1088A and LS1084A support 2x 10G DPMAC however DPMAC1 is currently
disabled for LS1084A, Enable to support both 2x 10G DPMAC.

Signed-off-by: Pramod Kumar <pramod.kumar_1 at nxp.com>
---
Changes in v2: 
  - incorporate review comments 

 arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
index 67d97f8..280afbb 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
@@ -57,7 +57,7 @@ bool soc_has_mac1(void)
 	unsigned int svr = gur_in32(&gur->svr);
 	unsigned int version = SVR_SOC_VER(svr);
 
-	return version == SVR_LS1088A;
+	return (version == SVR_LS1088A || version == SVR_LS1084A);
 }
 
 int serdes_get_number(int serdes, int cfg)
-- 
2.7.4



More information about the U-Boot mailing list