coreboot-kgpe-d16/src/drivers
Youness Alaoui 676887d2e2 drivers/intel/fsp: Fix TPM initialization when vboot is disabled
A change introduced by commit fe4983e5 [1] in order to prevent
re-initialization of the TPM if already set up in verstage
had the wrong logic in the if statement, causing the TPM
to never be initialized if vboot is disabled.

The RESUME_PATH_SAME_AS_BOOT config is enabled by default for
ARCH_X86, resulting in the if statement to always evaluate to
false. Remove that condition from the if statement to allow it
to function as intended.

This patch also enables TPM initialization for FSP 2.0 with
the same conditions.

[1] intel/fsp1_1: Do not re-init TPM in romstage if already setup in verstage
https://review.coreboot.org/#/c/coreboot/+/14106/

Change-Id: Ic43d1aa31a296386c7eab6d997f9b701e9ea0fe5
Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/23680
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-03-26 10:22:23 +00:00
..
amd/agesa AGESA_LEGACY: Apply final cleanup and file removals 2018-01-23 05:33:30 +00:00
ams include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
aspeed src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
ati/ragexl src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
dec/21143
elog elog: Support logging S0ix sleep/wake info in elog 2017-10-19 00:42:49 +00:00
emulation/qemu src/drivers: Add license headers 2017-06-12 04:08:14 +02:00
generic drivers/generic/adau7002/adau7002.c: Fix null pointer dereference 2018-02-15 21:39:28 +00:00
gic
i2c drivers/i2c/designware: Fix indentation 2018-03-21 15:56:55 +00:00
intel drivers/intel/fsp: Fix TPM initialization when vboot is disabled 2018-03-26 10:22:23 +00:00
ipmi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
lenovo drvs/lenovo/hybrid_graphics/romstage: Fix dGPU activation 2017-12-20 16:52:06 +00:00
maxim include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
mrc_cache drivers/mrc_cache: Always generate an FMAP region 2018-01-20 16:11:44 +00:00
net drivers/net: Add device index for multiple NIC cards 2018-01-22 23:04:34 +00:00
parade include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
pc80 security/tpm: Change TPM naming for different layers. 2018-01-18 01:45:35 +00:00
ricoh/rce822
siemens/nc_fpga src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
sil/3114 src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
spi driver/spi: Warn when probed SF size differs from CONFIG_ROM_SIZE 2018-02-20 23:21:20 +00:00
ti include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
uart driver/uart: Introduce a way for mainboard to override the baudrate 2018-02-21 16:09:06 +00:00
usb drivers/usb/Kconfig: remove USBDEBUG_DONGLE_BEAGLEBONE_BLACK 2017-09-28 01:32:49 +00:00
xgi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
xpowers/axp209 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00