Map npcx9mfp chip name to NPCX99FP The SOC name is defined as "npcx9mfp" within Zephyr's configuration. However, to maintain consistency with legacy CROS-EC naming conventions and existing tooling, this specific chip should be reported as "NPCX99FP". Update cros_fingerprint_execs.go to perform this mapping when the mcu is set to "npcx9mfp". BUG=b:473862790 b:445467149 TEST=tast run localhost:2200 biod.CheckHWID Change-Id: I2f326d9c2512c519a19d8bdb886f965b756c4744 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7417231 Reviewed-by: Otabek Kasimov <otabek@google.com> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Firas Sammoura <fsammoura@google.com> Cr-Commit-Position: refs/heads/main@{#78450}
diff --git a/go/src/infra/cros/recovery/internal/execs/cros/cros_fingerprint_execs.go b/go/src/infra/cros/recovery/internal/execs/cros/cros_fingerprint_execs.go index 461ec22..20123d6 100644 --- a/go/src/infra/cros/recovery/internal/execs/cros/cros_fingerprint_execs.go +++ b/go/src/infra/cros/recovery/internal/execs/cros/cros_fingerprint_execs.go
@@ -80,6 +80,8 @@ mcu = "stm32f412" } else if strings.HasPrefix(mcu, "stm32h7") { mcu = "stm32h7x3" + } else if strings.HasPrefix(mcu, "npcx9mfp") { + mcu = "NPCX99FP" } }