aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2023-09-05 11:44:21 -0600
committerRaul Rangel <rrangel@chromium.org>2023-09-28 16:55:13 +0000
commitb0b87ed49ce65454ec870bdc54f3b95953be8053 (patch)
tree8036e6fc13b28e1055e4147d5d996fdeac34ceb8 /src/mainboard/google
parenta2f08aa5c4420053d80ca23992b9e61888976f7c (diff)
mb/google/skyrim: Enable hibernate on TPM err
Enable hibernate on TPM setup error for Skyrim devices. BUG=b:296439237 TEST=Force the error by hard coding the return code and observe the device entering hibernate. BRANCH=None Change-Id: Ibf96b830f07dac98035d3152c8ec220685a912bc Signed-off-by: Jon Murphy <jpmurphy@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77668 Reviewed-by: Tim Van Patten <timvp@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/skyrim/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index 59f6c67872..4e9ae982b7 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -247,4 +247,9 @@ config SPI_FLASH_STMICRO
config SPI_FLASH_WINBOND
default y
+# Enable hibernate on TPM setup error as needed
+config TPM_SETUP_HIBERNATE_ON_ERR
+ bool
+ default y
+
endif # BOARD_GOOGLE_BASEBOARD_SKYRIM