Skip to content

Commit

Permalink
mtl: Print retimer versions
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Schaefer <dhs@frame.work>
  • Loading branch information
JohnAZoidberg committed Aug 5, 2024
1 parent b802422 commit bab1608
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions framework_lib/src/commandline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,21 +358,29 @@ fn print_versions(ec: &CrosEc) {
| esrt::ADL_RETIMER01_GUID
| esrt::ADL_RETIMER23_GUID
| esrt::RPL_RETIMER01_GUID
| esrt::RPL_RETIMER23_GUID => {
| esrt::RPL_RETIMER23_GUID
| esrt::MTL_RETIMER01_GUID
| esrt::MTL_RETIMER23_GUID => {
if !found_retimer {
found_retimer = true;
}
}
_ => {}
}
match entry.fw_class {
esrt::TGL_RETIMER01_GUID | esrt::ADL_RETIMER01_GUID | esrt::RPL_RETIMER01_GUID => {
esrt::TGL_RETIMER01_GUID
| esrt::ADL_RETIMER01_GUID
| esrt::RPL_RETIMER01_GUID
| esrt::MTL_RETIMER01_GUID => {
println!(
" Left: 0x{:X} ({})",
entry.fw_version, entry.fw_version
);
}
esrt::TGL_RETIMER23_GUID | esrt::ADL_RETIMER23_GUID | esrt::RPL_RETIMER23_GUID => {
esrt::TGL_RETIMER23_GUID
| esrt::ADL_RETIMER23_GUID
| esrt::RPL_RETIMER23_GUID
| esrt::MTL_RETIMER23_GUID => {
println!(
" Right: 0x{:X} ({})",
entry.fw_version, entry.fw_version
Expand Down

0 comments on commit bab1608

Please sign in to comment.