From 26468d5186b437eba0c4baf9b7ac0e4b9b18ad39 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 22 Aug 2015 18:31:20 -0600 Subject: tpm: Convert board config TPM options to Kconfig Convert all TPM options to Kconfig and tidy up. Signed-off-by: Simon Glass Acked-by: Christophe Ricard Reviewed-by: Heiko Schocher --- configs/peach-pi_defconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs/peach-pi_defconfig') diff --git a/configs/peach-pi_defconfig b/configs/peach-pi_defconfig index 323a2d38b3..2be74fd1fd 100644 --- a/configs/peach-pi_defconfig +++ b/configs/peach-pi_defconfig @@ -7,11 +7,13 @@ CONFIG_SPL=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y +CONFIG_CMD_TPM=y CONFIG_SPI_FLASH=y CONFIG_CMD_CROS_EC=y CONFIG_CROS_EC=y CONFIG_CROS_EC_SPI=y CONFIG_CROS_EC_KEYB=y +CONFIG_TPM_TIS_I2C=y CONFIG_DM_I2C=y CONFIG_DM_I2C_COMPAT=y CONFIG_I2C_CROS_EC_TUNNEL=y @@ -30,5 +32,6 @@ CONFIG_SOUND_MAX98095=y CONFIG_SOUND_WM8994=y CONFIG_USB=y CONFIG_DM_USB=y +CONFIG_TPM=y CONFIG_ERRNO_STR=y CONFIG_SYS_PROMPT="Peach-Pi # " -- cgit v1.2.1 From b697e0ff5b8d92c9544960fd99dbfd9558c0ee6f Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 22 Aug 2015 18:31:38 -0600 Subject: dm: tpm: Convert I2C driver to driver model Convert the tpm_tis_i2c driver to use driver model and update boards which use it. Signed-off-by: Simon Glass Acked-by: Christophe Ricard Reviewed-by: Heiko Schocher --- configs/peach-pi_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/peach-pi_defconfig') diff --git a/configs/peach-pi_defconfig b/configs/peach-pi_defconfig index 2be74fd1fd..6416f16986 100644 --- a/configs/peach-pi_defconfig +++ b/configs/peach-pi_defconfig @@ -13,6 +13,7 @@ CONFIG_CMD_CROS_EC=y CONFIG_CROS_EC=y CONFIG_CROS_EC_SPI=y CONFIG_CROS_EC_KEYB=y +CONFIG_DM_TPM=y CONFIG_TPM_TIS_I2C=y CONFIG_DM_I2C=y CONFIG_DM_I2C_COMPAT=y -- cgit v1.2.1 From eddb8cf136ee28ab8d699f5c3a18408ed3074d6c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 22 Aug 2015 18:31:43 -0600 Subject: tpm: Enable 'tpmtest' command for Chrome OS boards with TPMs This command provides a few useful tests so enable it for common boards. Signed-off-by: Simon Glass Acked-by: Christophe Ricard Reviewed-by: Heiko Schocher --- configs/peach-pi_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/peach-pi_defconfig') diff --git a/configs/peach-pi_defconfig b/configs/peach-pi_defconfig index 6416f16986..56a518556c 100644 --- a/configs/peach-pi_defconfig +++ b/configs/peach-pi_defconfig @@ -8,6 +8,7 @@ CONFIG_SPL=y CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y CONFIG_CMD_TPM=y +CONFIG_CMD_TPM_TEST=y CONFIG_SPI_FLASH=y CONFIG_CMD_CROS_EC=y CONFIG_CROS_EC=y -- cgit v1.2.1