Commit 33cddb76 authored by Josua Mayer's avatar Josua Mayer

uboot: configure retimer even when fdtfile is set ...

Signed-off-by: default avatarJosua Mayer <josua@solid-run.com>
parent 883d28b2
From 3097254068172c055fc6a3fbb446d3864e12947a Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 17 Nov 2022 14:55:03 +0200
Subject: [PATCH 41/41] board: lx2160cex7: don't skip retimer setup when
fdtfile is set
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
board/solidrun/lx2160a/eth_lx2160acex7.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/board/solidrun/lx2160a/eth_lx2160acex7.c b/board/solidrun/lx2160a/eth_lx2160acex7.c
index 64ef75b27b..8a0a8e66f2 100644
--- a/board/solidrun/lx2160a/eth_lx2160acex7.c
+++ b/board/solidrun/lx2160a/eth_lx2160acex7.c
@@ -308,8 +308,6 @@ int fsl_board_late_init(void) {
char expected_dts[100];
printf ("fsl_board_late_init\n");
- if (env_get("fdtfile"))
- return 0;
srds_s1 = rcw_status & FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_MASK;
srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT;
@@ -380,7 +378,8 @@ int fsl_board_late_init(void) {
sprintf(expected_dts, "fsl-lx2160a-half-twins.dtb");
} else sprintf(expected_dts, "fsl-lx2160a-clearfog-cx.dtb");
}
- env_set("fdtfile", expected_dts);
+ if (!env_get("fdtfile"))
+ env_set("fdtfile", expected_dts);
return 0;
}
#endif
--
2.38.1
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