coreboot-kgpe-d16/src/mainboard/google
Keith Short e0f3400547 coreboot: check Cr50 PM mode on normal boot
Under some scenarios the key ladder on the Cr50 can get disabled.  If
this state is detected, trigger a reboot of the Cr50 to restore full
TPM functionality.

BUG=b:121463033
BRANCH=none
TEST=Built coreboot on sarien and grunt platforms.
TEST=Ran 'gsctool -a -m disable' and reboot. Verified coreboot sends
VENDOR_CC_IMMEDIATE_RESET command to Cr50 and that the Cr50 resets and
then the platform boots normally.
TEST=Performed Cr50 rollback to 0.0.22 which does not support the
VENDOR_CC_TPM_MODE command, confirmed that platform boots normally and
the coreboot log captures the unsupported command.
Tested-by: Keith Short <keithshort@chromium.org>

Change-Id: I70e012efaf1079d43890e909bc6b5015bef6835a
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://review.coreboot.org/c/31260
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-02-13 13:03:33 +00:00
..
auron mb/google/{auron,jecht}: Remove duplicated HAVE_SMI_HANDLER 2019-01-03 18:07:26 +00:00
beltino mb/*/chromeos.c: Fix PRE_RAM and unify style 2019-01-04 21:23:21 +00:00
butterfly mb/*/*/romstage: curly braces after the function definition 2019-02-08 10:58:37 +00:00
cheza cheza: Add board reset via Chrome EC 2018-12-14 21:09:20 +00:00
cyan buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
daisy arch/x86: Drop spurious arch/stages.h includes 2018-12-28 06:47:31 +00:00
dragonegg buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
eve buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
fizz buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
foster mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
gale mainboard: Remove unneeded include <console/console.h> 2018-11-05 09:01:13 +00:00
glados buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
gru (console,drivers/uart)/Kconfig: Fix dependencies 2018-11-21 22:49:48 +00:00
hatch mb/google/hatch: Configure GPIO pad for non-inversion 2019-02-13 13:03:00 +00:00
jecht mb/*/chromeos.c: Fix PRE_RAM and unify style 2019-01-04 21:23:21 +00:00
kahlee google/kahlee: Remove unneeded HAVE_ACPI_RESUME guard 2019-02-12 05:00:55 +00:00
kukui mb/google/kukui: Add default HWID for Chrome OS 2019-02-05 13:25:30 +00:00
link mb/*/*/romstage: curly braces after the function definition 2019-02-08 10:58:37 +00:00
nyan src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
nyan_big src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
nyan_blaze src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
oak arm64: Factor out common parts of romstage execution flow 2018-08-17 21:29:46 +00:00
octopus mb/google/octopus/casta: Tune usb2eye setting 2019-02-12 11:56:10 +00:00
parrot mb/*/*/romstage: curly braces after the function definition 2019-02-08 10:58:37 +00:00
peach_pit arch/x86: Drop spurious arch/stages.h includes 2018-12-28 06:47:31 +00:00
poppy mb/google/poppy/variants/atlas: config GPP_D1 as no-connect 2019-02-05 13:25:56 +00:00
rambi google/rambi: disable TXE in devicetree for all variants 2018-12-19 05:48:25 +00:00
reef mb/google/reef: Expand the coreboot RO section 2019-02-06 17:10:11 +00:00
sarien coreboot: check Cr50 PM mode on normal boot 2019-02-13 13:03:33 +00:00
slippy mb/google/slippy: Add a VBT for all variants 2019-01-06 15:39:16 +00:00
smaug mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
storm buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
stout src: Remove unused include device/pnp_def.h 2019-02-07 08:53:07 +00:00
urara console: Change BOOTBLOCK_CONSOLE default to y 2019-01-14 12:13:55 +00:00
veyron Veyron: fix sdram config for Hynix H9CCNNNBKTMLBR-NTD 2019-01-09 16:08:26 +00:00
veyron_mickey Veyron: fix sdram config for Hynix H9CCNNNBKTMLBR-NTD 2019-01-09 16:08:26 +00:00
veyron_rialto arch/x86: Drop spurious arch/stages.h includes 2018-12-28 06:47:31 +00:00
Kconfig
Kconfig.name