summaryrefslogtreecommitdiffstats
path: root/src/security
diff options
context:
space:
mode:
authorDerek Huang <derekhuang@google.com>2023-09-01 04:17:11 +0000
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-09-14 01:53:22 +0000
commitc6f4738f9883750213e54e34fdcc3ece2bd59c7f (patch)
tree983111674e02a37a67d518a86489a9cf9b716127 /src/security
parent5ccc5271acf6a282fea5e2ee1e6f3013e38bd387 (diff)
downloadcoreboot-c6f4738f9883750213e54e34fdcc3ece2bd59c7f.tar.gz
coreboot-c6f4738f9883750213e54e34fdcc3ece2bd59c7f.tar.bz2
coreboot-c6f4738f9883750213e54e34fdcc3ece2bd59c7f.zip
vc/google/chromeos: Move clear_ec_ap_idle() to common code
Previously the clear_ec_ap_idle() is implemented in cr50_enable_update.c and be called in the file. Move it to common code so that it can be called in cse_board_reset.c TEST=emerge-brask coreboot Change-Id: I2dbe41b01e70f7259f75d967e6df694a3e0fac23 Signed-off-by: Derek Huang <derekhuang@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77631 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Reka Norman <rekanorman@chromium.org>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/tpm/tss/vendor/cr50/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/security/tpm/tss/vendor/cr50/Kconfig b/src/security/tpm/tss/vendor/cr50/Kconfig
index 6aa1b10550b7..7e6d2204e414 100644
--- a/src/security/tpm/tss/vendor/cr50/Kconfig
+++ b/src/security/tpm/tss/vendor/cr50/Kconfig
@@ -41,7 +41,8 @@ config GOOGLE_TPM_IRQ_TIMEOUT_MS
750ms otherwise.
config CR50_RESET_CLEAR_EC_AP_IDLE_FLAG
- def_bool n
+ bool
+ default y if !SYSTEM_TYPE_LAPTOP
help
Select this if the variant is a Chromebox/base. This allows AP to direct EC
to clear AP_IDLE flag after AP shutdown before triggering CR50 reset and