Re: [PATCH 1/2] tpm: Add 'tpm autostart' shell command

2023-06-02 Thread Ilias Apalodimas
On Fri, 2 Jun 2023 at 00:51, Simon Glass wrote: > > Hi Ilias, > > On Thu, 1 Jun 2023 at 00:21, Ilias Apalodimas > wrote: > > > > For a TPM device to be operational we need to initialize it and > > perform its startup sequence. The 'tpm init' command currently calls > > tpm_init() which ends up

Re: [PATCH 1/2] tpm: Add 'tpm autostart' shell command

2023-06-01 Thread Simon Glass
Hi Ilias, On Thu, 1 Jun 2023 at 00:21, Ilias Apalodimas wrote: > > For a TPM device to be operational we need to initialize it and > perform its startup sequence. The 'tpm init' command currently calls > tpm_init() which ends up calling the ->open() per-device callback and > performs the

[PATCH 1/2] tpm: Add 'tpm autostart' shell command

2023-06-01 Thread Ilias Apalodimas
For a TPM device to be operational we need to initialize it and perform its startup sequence. The 'tpm init' command currently calls tpm_init() which ends up calling the ->open() per-device callback and performs the initial hardware configuration as well as requesting locality 0 for the caller.