Commit 7851827e authored by Josua Mayer's avatar Josua Mayer

u-boot: fix patch #42 to apply cleanly

Fixes: e89f4ca6 clearfog-cx/honeycomb: add support for serdes 1 protocol 20 (2x 40G)
parent b344a483
From 7666610c11ea33aba76070d2cfa142276d23066d Mon Sep 17 00:00:00 2001 From dcca79048fcbcc03ccdd2f3b60136054515e61fe Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com> From: Josua Mayer <josua@solid-run.com>
Date: Mon, 3 Apr 2023 13:19:07 +0300 Date: Mon, 3 Apr 2023 13:19:07 +0300
Subject: [PATCH] lx2160acex7: configure retimer for serdes1 protocol 20 Subject: [PATCH] lx2160acex7: configure retimer for serdes1 protocol 20
...@@ -6,27 +6,19 @@ Subject: [PATCH] lx2160acex7: configure retimer for serdes1 protocol 20 ...@@ -6,27 +6,19 @@ Subject: [PATCH] lx2160acex7: configure retimer for serdes1 protocol 20
Signed-off-by: Josua Mayer <josua@solid-run.com> Signed-off-by: Josua Mayer <josua@solid-run.com>
--- ---
board/solidrun/lx2160a/eth_lx2160acex7.c | 3 +++ board/solidrun/lx2160a/eth_lx2160acex7.c | 2 ++
1 file changed, 3 insertions(+) 1 file changed, 2 insertions(+)
diff --git a/board/solidrun/lx2160a/eth_lx2160acex7.c b/board/solidrun/lx2160a/eth_lx2160acex7.c diff --git a/board/solidrun/lx2160a/eth_lx2160acex7.c b/board/solidrun/lx2160a/eth_lx2160acex7.c
index 6a696deafe..d7a1d76619 100644 index 8a0a8e66f2..6c5e4cad6a 100644
--- a/board/solidrun/lx2160a/eth_lx2160acex7.c --- a/board/solidrun/lx2160a/eth_lx2160acex7.c
+++ b/board/solidrun/lx2160a/eth_lx2160acex7.c +++ b/board/solidrun/lx2160a/eth_lx2160acex7.c
@@ -330,6 +330,7 @@ int fsl_board_late_init(void) { @@ -354,6 +354,8 @@ int fsl_board_late_init(void) {
if (get_svr() & 0x800) { /* LX2162A SOM variants */
switch (srds_s1) {
case 8:
+ /* Setup 10g retimer on lanes e,f,g,h */
setup_retimer_lx2162_25g(0);
break;
case 15:
@@ -353,6 +354,8 @@ int fsl_board_late_init(void) {
} else { } else {
switch (srds_s1) { switch (srds_s1) {
case 8: case 8:
+ case 20: + case 20:
+ /* Setup 10g retimer on lanes e,f,g,h */ + /* Setup retimer on lanes e,f,g,h for 10Gbps */
setup_retimer_25g(0); setup_retimer_25g(0);
break; break;
case 13: case 13:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment