diff mbox

[U-Boot,25/25] tegra: nyan: Enable TPM command and driver

Message ID 1439304497-10081-26-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Aug. 11, 2015, 2:48 p.m. UTC
The TPM is listed in the device tree. Enable the driver and 'tpm' command
so that it can be used.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 configs/nyan-big_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Christophe Ricard Aug. 11, 2015, 9:40 p.m. UTC | #1
Hi Simon,

Acked-by: Christophe Ricard <christophe-h.ricard@st.com>

Best Regards
Christophe

On 11/08/2015 16:48, Simon Glass wrote:
> The TPM is listed in the device tree. Enable the driver and 'tpm' command
> so that it can be used.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>   configs/nyan-big_defconfig | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig
> index 2b26841..4be6e4f 100644
> --- a/configs/nyan-big_defconfig
> +++ b/configs/nyan-big_defconfig
> @@ -9,15 +9,19 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra124-nyan-big"
>   # CONFIG_CMD_FPGA is not set
>   # CONFIG_CMD_SETEXPR is not set
>   # CONFIG_CMD_NFS is not set
> +CONFIG_CMD_TPM=y
>   CONFIG_SPL_DM=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_DM_TPM=y
> +CONFIG_TPM_TIS_I2C=y
>   CONFIG_TEGRA114_SPI=y
>   CONFIG_DISPLAY_PORT=y
>   CONFIG_VIDEO_TEGRA124=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_TPM=y
>   CONFIG_USE_PRIVATE_LIBGCC=y
diff mbox

Patch

diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig
index 2b26841..4be6e4f 100644
--- a/configs/nyan-big_defconfig
+++ b/configs/nyan-big_defconfig
@@ -9,15 +9,19 @@  CONFIG_DEFAULT_DEVICE_TREE="tegra124-nyan-big"
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_CMD_TPM=y
 CONFIG_SPL_DM=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_DM_TPM=y
+CONFIG_TPM_TIS_I2C=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_DISPLAY_PORT=y
 CONFIG_VIDEO_TEGRA124=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_TPM=y
 CONFIG_USE_PRIVATE_LIBGCC=y