Skip to content
Commit 1bea7cc4 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

tpm: Reduce duplication in a few functions



Update tpm2_clear() and tpm2_pcr_extend() so that the command size
is not repeated twice. Add a small comment to the latter.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent b8eb9210
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment