Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
33cddb76
Commit
33cddb76
authored
Nov 17, 2022
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uboot: configure retimer even when fdtfile is set ...
Signed-off-by:
Josua Mayer
<
josua@solid-run.com
>
parent
883d28b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
patches/u-boot-LSDK-21.08/0041-board-lx2160cex7-don-t-skip-retimer-setup-when-fdtfi.patch
...oard-lx2160cex7-don-t-skip-retimer-setup-when-fdtfi.patch
+37
-0
No files found.
patches/u-boot-LSDK-21.08/0041-board-lx2160cex7-don-t-skip-retimer-setup-when-fdtfi.patch
0 → 100644
View file @
33cddb76
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment