]> git.baikalelectronics.ru Git - uboot.git/commit
tpm: Fix autostart for TPM1.2 devices
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 8 Sep 2023 20:37:22 +0000 (23:37 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Sep 2023 04:12:47 +0000 (06:12 +0200)
commite2c77c9c175e41eeb3f92a1ff1bd26e421ebb342
tree099b927b9668472d6c64eae0563ca5f3d8247426
parentb42540003bced346f5f4a585dda2a4ccf5930c6a
tpm: Fix autostart for TPM1.2 devices

On commit a79988e9b223("tpm: Add 'tpm autostart' shell command") an
autostart function was added for both TPM1.2 and 2.0 devices.  Instead
of correctly wiring the autostart command for TPM1.2 devices that patch
mistakenly added it on 'tpm init'

Fixes: commit a79988e9b223("tpm: Add 'tpm autostart' shell command")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/tpm-v1.c