From 5811616d585eab7f0ae4e9f125da0b9e23ba42b1 Mon Sep 17 00:00:00 2001 From: EricKY Cheng Date: Sun, 26 Feb 2023 11:53:30 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73262 Tested-by: build bot (Jenkins) Reviewed-by: Tim Van Patten --- src/mainboard/google/skyrim/variants/whiterun/overridetree.cb | 10 +++++++++- .../google/skyrim/variants/winterhold/overridetree.cb | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3