aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2019-06-03 16:35:25 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-21 08:40:08 +0000
commit37fedc0414af6e5e2daccef5caa4b37632699f15 (patch)
treeece9837e7695b6dfa8fe3d826e585f60a4369fd4 /src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c
parentfbeec122c03af689631b64c13f947f871963b79a (diff)
siemens/mc_apl5: Enable TPM support
This patch enables TPM on SPI and adds the needed devicetree entry for mc_apl5. TEST=Build coreboot for mc_apl5 board and check the TPM console output. In addition the TPM was correctly verified by our Linux driver. Change-Id: Iafc967c7a2bfee9bdb9b6591d12328620e2887cc Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33173 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c')
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c
index 7a424d131e..f9b258d199 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/gpio.c
@@ -254,7 +254,7 @@ static const struct pad_config gpio_table[] = {
/* SIO_SPI_0 -- unused */
PAD_CFG_GPI(GPIO_104, DN_20K, DEEP), /* GP_SSP_0_CLK */
PAD_CFG_GPI(GPIO_105, DN_20K, DEEP), /* GP_SSP_0_FS0 */
- PAD_CFG_GPI(GPIO_106, UP_20K, DEEP), /* GP_SSP_0_FS1 */
+ PAD_CFG_NF(GPIO_106, NATIVE, DEEP, NF3), /* FST_SPI_CS2_N */
PAD_CFG_GPI(GPIO_109, DN_20K, DEEP), /* GP_SSP_0_RXD */
PAD_CFG_GPI(GPIO_110, DN_20K, DEEP), /* GP_SSP_0_TXD */