From 2e30627ac39de75a21dd753c4c7d9c23f66b9a05 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Thu, 11 Jul 2024 11:43:50 +0800 Subject: [PATCH] mtl: Print retimer versions Signed-off-by: Daniel Schaefer --- framework_lib/src/commandline/mod.rs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/framework_lib/src/commandline/mod.rs b/framework_lib/src/commandline/mod.rs index 13c7da5..f5a1efa 100644 --- a/framework_lib/src/commandline/mod.rs +++ b/framework_lib/src/commandline/mod.rs @@ -358,7 +358,9 @@ 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; } @@ -366,13 +368,19 @@ fn print_versions(ec: &CrosEc) { _ => {} } 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