Skip to contentSkip to conversation

armv8: fsl-layerscape: LS1084A: Fix DPMAC1 support

PATCH New Pramod Kumar 2 participants 2 messages Jan 9, 2020 – Jan 22, 2020 1 message not in the archive Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 armv8: fsl-layerscape: LS1084A: Fix DPMAC1 support

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.

---
Changes in v2:
- incorporate review comments

 arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c +1 -1
index 67d97f8..280afbb 100644
@@ -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)
Signature · 1 line
2.7.4

A message that is not in the archive (sent off-list or not yet received): VE1PR04MB64941C35891856EDAF882878E60C0@VE1PR04MB6494.eurprd04.prod.outlook.com

#2 lore raw

PATCH v2 1/1 armv8: fsl-layerscape: LS1084A: Fix DPMAC1 support

Quoted 8 lines

-----Original Message-----
From: Pramod Kumar <[email protected]>
Sent: Thursday, January 9, 2020 2:24 PM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>; Pramod Kumar <[email protected]>
Subject: [PATCH v2] armv8: fsl-layerscape: LS1084A: Fix DPMAC1 support

Quoted 5 lines

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.

This patch looks to be enhancing another patch "http://patchwork.ozlabs.org/patch/1220239/" Can we combine both in single patch?
-Priyanka