diff mbox

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

Message ID 1440289904-31280-29-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Aug. 23, 2015, 12:31 a.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>
Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
---

Changes in v2:
- Enable 'tpmtest' command for nyan
- Update cover letter to mention panther and the tpmtest command.

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

Comments

Simon Glass Aug. 30, 2015, 10:44 p.m. UTC | #1
On 22 August 2015 at 18:31, Simon Glass <sjg@chromium.org> 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>
> Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
> ---
>
> Changes in v2:
> - Enable 'tpmtest' command for nyan
> - Update cover letter to mention panther and the tpmtest command.
>
>  configs/nyan-big_defconfig | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to u-boot-dm.
diff mbox

Patch

diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig
index 274e955..6464c37 100644
--- a/configs/nyan-big_defconfig
+++ b/configs/nyan-big_defconfig
@@ -9,16 +9,21 @@  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_CMD_TPM_TEST=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
 CONFIG_SYS_PROMPT="Tegra124 (Nyan-big) # "