git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323e91a
)
tpm: Fix autostart for TPM1.2 devices
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Fri, 8 Sep 2023 20:37:22 +0000
(23:37 +0300)
committer
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 9 Sep 2023 04:12:47 +0000
(06:12 +0200)
On commit
e663b2ff4ba2
("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
e663b2ff4ba2
("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
patch
|
blob
|
history
diff --git
a/cmd/tpm-v1.c
b/cmd/tpm-v1.c
index
3b95c95
..
1b1efcd
100644
(file)
--- a/
cmd/tpm-v1.c
+++ b/
cmd/tpm-v1.c
@@
-655,7
+655,7
@@
TPM_COMMAND_NO_ARG(tpm_physical_disable)
static struct cmd_tbl tpm1_commands[] = {
U_BOOT_CMD_MKENT(device, 0, 1, do_tpm_device, "", ""),
U_BOOT_CMD_MKENT(info, 0, 1, do_tpm_info, "", ""),
- U_BOOT_CMD_MKENT(
ini
t, 0, 1, do_tpm_autostart, "", ""),
+ U_BOOT_CMD_MKENT(
autostar
t, 0, 1, do_tpm_autostart, "", ""),
U_BOOT_CMD_MKENT(init, 0, 1, do_tpm_init, "", ""),
U_BOOT_CMD_MKENT(startup, 0, 1,
do_tpm_startup, "", ""),