Re: [PATCH] cmd: tpm: add a subcommand device

2020-01-09 Thread Miquel Raynal
Hi Philippe, Thanks for the patch! Philippe Reynes wrote on Wed, 8 Jan 2020 19:59:06 +0100: > The command tpm (and tpm2) search the tpm and use it. > On sandbox, there are two tpm (tpm 1.x and tpm 2.0). > So the command tpm and tpm2 are always executed with > the first tpm (tpm 1.x), and the c

[PATCH] cmd: tpm: add a subcommand device

2020-01-08 Thread Philippe Reynes
The command tpm (and tpm2) search the tpm and use it. On sandbox, there are two tpm (tpm 1.x and tpm 2.0). So the command tpm and tpm2 are always executed with the first tpm (tpm 1.x), and the command tpm2 always fails. This add a subcommand device to command tpm and command tpm2. Then the command