Re: [U-Boot] [PATCH v2 1/2] tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM

2016-01-21 Thread Simon Glass
On 21 January 2016 at 15:19, Christophe Ricard wrote: > In case CONFIG_DM_TPM was set without any TPM chipset configured a fault > was generated (NULL pointer access). > > Reviewed-by: Simon Glass > Signed-off-by: Christophe Ricard > --- > > Changes in v2: > - Adding Reviewed-by: Simon Glass >

[U-Boot] [PATCH v2 1/2] tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM

2016-01-21 Thread Christophe Ricard
In case CONFIG_DM_TPM was set without any TPM chipset configured a fault was generated (NULL pointer access). Reviewed-by: Simon Glass Signed-off-by: Christophe Ricard --- Changes in v2: - Adding Reviewed-by: Simon Glass common/cmd_tpm.c | 2 +- lib/tpm.c| 2 +- 2 files changed, 2 in