summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim
diff options
context:
space:
mode:
authorEricKY Cheng <ericky_cheng@compal.corp-partner.google.com>2023-02-26 11:53:30 +0800
committerKarthik Ramasubramanian <kramasub@google.com>2023-02-27 21:43:09 +0000
commit5811616d585eab7f0ae4e9f125da0b9e23ba42b1 (patch)
treeccf3647bb647250a5dc5a88b038e709616b40547 /src/mainboard/google/skyrim
parent9e24f7509a7b40dd6c46bb11922d5dc628087af6 (diff)
mb/google/skyrim/var/winterhold: Use fw_config to probe FP
Use fw_config to probe fingerprint. BUG=b:269986245 TEST=emerge-skyrim coreboot chromeos-bootimage. Test result is pass with 1000 reboot cycles. Change-Id: I4b4bca42dd78dfd5b8636ff3cb05406d2d0c94f7 Signed-off-by: EricKY Cheng <ericky_cheng@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73262 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Van Patten <timvp@google.com>
Diffstat (limited to 'src/mainboard/google/skyrim')
-rw-r--r--src/mainboard/google/skyrim/variants/whiterun/overridetree.cb10
-rw-r--r--src/mainboard/google/skyrim/variants/winterhold/overridetree.cb10
2 files changed, 18 insertions, 2 deletions
diff --git a/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb b/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb
index 1b68d9ebdb..f2d7a75d52 100644
--- a/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb
+++ b/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb
@@ -1,4 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
+fw_config
+ field FP 0
+ option FP_ABSENT 0
+ option FP_PRESENT 1
+ end
+end
chip soc/amd/mendocino
@@ -252,7 +258,9 @@ chip soc/amd/mendocino
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_12)"
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_4)"
register "enable_delay_ms" = "3"
- device generic 0 alias fpmcu on end
+ device generic 0 alias fpmcu on
+ probe FP FP_PRESENT
+ end
end
end # UART1
diff --git a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb
index 673991e52c..c9ac6fc0c7 100644
--- a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb
+++ b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb
@@ -1,4 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
+fw_config
+ field FP 0
+ option FP_ABSENT 0
+ option FP_PRESENT 1
+ end
+end
chip soc/amd/mendocino
@@ -252,7 +258,9 @@ chip soc/amd/mendocino
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_12)"
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_4)"
register "enable_delay_ms" = "3"
- device generic 0 alias fpmcu on end
+ device generic 0 alias fpmcu on
+ probe FP FP_PRESENT
+ end
end
end # UART1