Skip to contentSkip to conversation

ls1021atwr: sdboot: change serdes 0x20 to 0x30

PATCH New Yuan Yao 2 participants 2 messages Sep 15, 2015 – Oct 14, 2015

lore
Share & tools
lore

Yuan Yao

author
#0 lore raw

PATCH 1/1 ls1021atwr: sdboot: change serdes 0x20 to 0x30

For LS1021ATWR board in order to support SATA(Gen 3), SerDes Lan B will be connect to SATA directly.

So SerDes 0x20 can't support 2SGMII at the same time. In order to support two SGMII and one RGMII at the same time, we used 0x30 to replace 0x20.

---
 board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg +4 -4
index 9c3e3b0..3d40528 100644
@@ -3,12 +3,12 @@ aa55aa55 01ee0100
 
 #enable IFC, disable QSPI and DSPI
 0608000a 00000000 00000000 00000000
-20000000 00407900 60040a00 21046000
-00000000 00000000 00000000 00038000
+30000000 00407900 60040a00 21046000
+00000000 00000000 00000000 20038000
 00080000 881b7340 00000000 00000000
 
 #disable IFC, enable QSPI and DSPI
 #0608000a 00000000 00000000 00000000
-#20000000 00407900 60040a00 21046000
-#00000000 00000000 00000000 00038000
+#30000000 00407900 60040a00 21046000
+#00000000 00000000 00000000 20038000
 #20084800 881b7340 00000000 00000000
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 ls1021atwr: sdboot: change serdes 0x20 to 0x30

Quoted 24 lines · Yuan Yao

For LS1021ATWR board in order to support SATA(Gen 3), SerDes Lan B will be connect to SATA directly.

So SerDes 0x20 can't support 2SGMII at the same time. In order to support two SGMII and one RGMII at the same time, we used 0x30 to replace 0x20.

---
 board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg +1 -2
index 9c3e3b0..3d40528 100644
@@ -3,12 +3,12 @@ aa55aa55 01ee0100
 
 #enable IFC, disable QSPI and DSPI
 0608000a 00000000 00000000 00000000
-20000000 00407900 60040a00 21046000
-00000000 00000000 00000000 00038000
+30000000 00407900 60040a00 21046000

board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg aa55aa55 01ee0100 · line 14

Quoted 10 lines
board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg +3 -2
+00000000 00000000 00000000 20038000
 00080000 881b7340 00000000 00000000
 
 #disable IFC, enable QSPI and DSPI
 #0608000a 00000000 00000000 00000000
-#20000000 00407900 60040a00 21046000
-#00000000 00000000 00000000 00038000
+#30000000 00407900 60040a00 21046000
+#00000000 00000000 00000000 20038000
 #20084800 881b7340 00000000 00000000

This patch is superseded by Alison's patch "arm: ls1021a: Add QSPI or IFC support in SD boot".

York