All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: u-boot@lists.denx.de
Subject: [PATCH V2 2/2] cmd: tpm: add a subcommand device
Date: Thu, 9 Jan 2020 15:29:45 +0100	[thread overview]
Message-ID: <20200109152945.5c1068d9@xps13> (raw)
In-Reply-To: <1578579928-21160-2-git-send-email-philippe.reynes@softathome.com>

Hi Philippe,

Philippe Reynes <philippe.reynes@softathome.com> wrote on Thu,  9 Jan
2020 15:25:28 +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 command tpm2 always
> fails.
> 
> This add a subcommand device to command tpm and
> command tpm2. Then the command tpm and tpm2 use
> the device selected with the subcommand device.
> 
> To be compatible with previous behaviour, if the
> subcommand device is not used before a tpm (or tpm2)
> command, the device 0 is selected.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>


Thanks,
Miquèl

  reply	other threads:[~2020-01-09 14:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09 14:25 [PATCH V2 1/2] tpm: add a helper to iterate on all tpm devices Philippe Reynes
2020-01-09 14:25 ` [PATCH V2 2/2] cmd: tpm: add a subcommand device Philippe Reynes
2020-01-09 14:29   ` Miquel Raynal [this message]
2020-01-10  9:39   ` Simon Glass
2020-01-09 14:32 ` [PATCH V2 1/2] tpm: add a helper to iterate on all tpm devices Miquel Raynal
2020-01-10  9:39 ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200109152945.5c1068d9@xps13 \
    --to=miquel.raynal@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.