board/qemu/aarch64-virt/linux.config: enable TPM tis support
authorRomain Naour <romain.naour@gmail.com>
Mon, 6 Jul 2020 23:41:50 +0000 (01:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 11 Jul 2020 13:53:55 +0000 (15:53 +0200)
Qemu aarch64 virt machine support TPM using a swtmp [1] TPM emulator
provided on the qemu command line [2].

[1] https://github.com/stefanberger/swtpm/wiki
[2] https://git.qemu.org/?p=qemu.git;a=commitdiff;h=c294ac327ca99342b90bd3a83d2cef9b447afaa7

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/qemu/aarch64-virt/linux.config

index 88f4c43c9ee510b626000f974ebe1d91c077c72d..227723f85579e938d0ec4a865819f9d05de3a73a 100644 (file)
@@ -47,6 +47,8 @@ CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 CONFIG_VIRTIO_CONSOLE=y
 CONFIG_HW_RANDOM=y
 CONFIG_HW_RANDOM_VIRTIO=y
+CONFIG_TCG_TPM=y
+CONFIG_TCG_TIS=y
 CONFIG_DRM=y
 CONFIG_DRM_VIRTIO_GPU=y
 CONFIG_RTC_CLASS=y