From 5d1fa6b6a64713072eeb001247f2a083806f2c48 Mon Sep 17 00:00:00 2001
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Date: Fri, 16 Jun 2023 11:42:52 +0300
Subject: [PATCH] doc: qemu: switch swtpm instruction to 'tpm autostart'

We don't have a documentation page for our TPM subsystem.  I plan
on sending one in the future,  but in the meantime document the
new 'tpm autostart' command in the QEMU instructions while using
a SWTPM

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
 doc/board/emulation/qemu-arm.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
index b42d924cc6..7291fa4a31 100644
--- a/doc/board/emulation/qemu-arm.rst
+++ b/doc/board/emulation/qemu-arm.rst
@@ -113,7 +113,7 @@ In a second console invoke qemu-system-aarch64 with::
 
 Enable the TPM on U-Boot's command line with::
 
-    tpm2 startup TPM2_SU_CLEAR
+    tpm autostart
 
 Debug UART
 ----------
-- 
2.39.5