From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 17 Oct 2016 16:17:30 -0600 Subject: [U-Boot] [PATCH v2] tpm: tpm_tis_lpc: Add support for AT97SC3204 In-Reply-To: <20161017142432.10794-1-george.mccollister@gmail.com> References: <20161017142432.10794-1-george.mccollister@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17 October 2016 at 08:24, George McCollister wrote: > The Atmel AT97SC3204 is also TIS compliant. > Modify the tpm_tis_lpc driver to check for the vid/did used by the > Atmel AT97SC3204 and report an appropriate description. > > Signed-off-by: George McCollister > --- > > Changes in v2: > - Reorganized didvid check to make it more consistent with the original > code > - Return -ENODEV instead of -ENOENT when didvid doesn't match the > expected value for the device > > drivers/tpm/tpm_tis_lpc.c | 37 ++++++++++++++++++++++++++++--------- > 1 file changed, 28 insertions(+), 9 deletions(-) Reviewed-by: Simon Glass