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

Simon Glass sjg at chromium.org
Thu Jan 21 03:46:05 CET 2016


On 16 January 2016 at 16:17, Christophe Ricard
<christophe.ricard at gmail.com> wrote:
> In case CONFIG_DM_TPM was set without any TPM chipset configured a fault
> was generated (NULL pointer access).
>
> Signed-off-by: Christophe Ricard <christophe-h.ricard at st.com>
> ---
>
>  common/cmd_tpm.c | 2 +-
>  lib/tpm.c        | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list