tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM
In case CONFIG_DM_TPM was set without any TPM chipset configured a fault was generated (NULL pointer access). Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NChristophe Ricard <christophe-h.ricard@st.com>
Showing
想要评论请 注册 或 登录