aboutsummaryrefslogtreecommitdiff
path: root/src/security/tpm
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-08-15 14:36:37 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-08-17 12:27:23 +0000
commitbc2a2a0a26c6ddaeb8b9fb42ab28ec8ab10e7685 (patch)
tree9efec6410c4b5680ab16ec9575575b84b1c874cf /src/security/tpm
parent632b2321eb36438c52ac89676a910f230075bc12 (diff)
cr50: Allow boards to disable powering off EC on cr50 update
This patch allows boards to disable turning off EC on cr50 update. If CR50 resets the whole system, an EC reset is not required. BUG=b:112604277 BRANCH=none TEST=gsctool -a -u /media/removable/cr50.bin && reboot Verify EC reboots. AP prints 'Waiting for CR50 reset to pick up update' then reboots. Change-Id: I60a7aa50a549e7a5a1a114245fbf7b9646d813bb Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://review.coreboot.org/28110 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/tpm')
-rw-r--r--src/security/tpm/tss/vendor/cr50/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/security/tpm/tss/vendor/cr50/Kconfig b/src/security/tpm/tss/vendor/cr50/Kconfig
index 4d40c08da6..fcbf47b9cf 100644
--- a/src/security/tpm/tss/vendor/cr50/Kconfig
+++ b/src/security/tpm/tss/vendor/cr50/Kconfig
@@ -25,4 +25,10 @@ config POWER_OFF_ON_CR50_UPDATE
help
Power off machine while waiting for CR50 update to take effect.
+config DISABLE_POWER_OFF_EC_ON_CR50_UPDATE
+ bool
+ default n
+ help
+ Disable powering off EC while waiting for CR50 update to take effect.
+
endif