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>
This commit is contained in:
EricKY Cheng 2023-02-26 11:53:30 +08:00 committed by Karthik Ramasubramanian
parent 9e24f7509a
commit 5811616d58
2 changed files with 18 additions and 2 deletions

View File

@ -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

View File

@ -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