summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/variants/dratini/include
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2024-08-01 21:02:47 -0600
committerJon Murphy <jpmurphy@google.com>2024-10-03 20:54:03 +0000
commit1efb6e84b7e048c0ccbd8f6ae3a2610585ca90bd (patch)
tree211d68b0c002afc123859c54c42f40c2434ccc61 /src/mainboard/google/hatch/variants/dratini/include
parent391342ee6de1944fd9cbcdc79e2d1bdcdd03b281 (diff)
mb/google/hatch/var/dratini: Add FP enable
Add FP enable/disable based on SKU ID for Dratini. This is meant to resolve a UMA issue with Dratini devices that had the FPMCU populated on non-fp devices. Since the FPMCU is present, and the firmware enables the power GPIO's based on variant, not SKU, the devices were reporting data on fingerprint errantly. BUG=b:354769653 BUG=b:200825114 TEST=Flash to Dratini, test FP. Disable test SKU, flash on Dratini, test FP. To test, run `ectool --name=cros_fp version` in the shell When enabled, the fpmcu fw version should be displayed. When disabled, an error should be displayed because the fpmcu is inaccessible. Change-Id: Ifc450f51b00b9c3b62268ce94884f5749a3e18c0 Signed-off-by: Jon Murphy <jpmurphy@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83745 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants/dratini/include')
-rw-r--r--src/mainboard/google/hatch/variants/dratini/include/variant/sku.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h b/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
index c44e0dbdbe..89f670821e 100644
--- a/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
+++ b/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
@@ -4,6 +4,14 @@
#define __MAINBOARD_SKU_H__
enum {
+ SKU_1_DRATINI = 1,
+ SKU_2_DRATINI = 2,
+ SKU_3_DRATINI = 3,
+ SKU_4_DRATINI = 4,
+ SKU_5_DRATINI = 5,
+ SKU_6_DRATINI = 6,
+ SKU_7_DRATINI = 7,
+ SKU_8_DRATINI = 8,
SKU_21_DRAGONAIR = 21,
SKU_22_DRAGONAIR = 22,
SKU_23_DRAGONAIR = 23,