diff options
author | Joel Kitching <kitching@google.com> | 2018-10-11 18:16:59 +0800 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-10-18 16:22:40 +0000 |
commit | 9937a063d47c974f274ece2fadcc13faf6423929 (patch) | |
tree | 7adab74d57426fff327375b6cb6afc1a8cbbae4e /src/mainboard/intel | |
parent | 660389ef9e10dbe2735820baaf035c14fef6fafc (diff) | |
download | coreboot-9937a063d47c974f274ece2fadcc13faf6423929.tar.xz |
tpm/tspi: clean up tpm_setup function flow
Introduce two helper functions for more readable code.
Use epilogue function instead of goto for error handling.
BUG=None
TEST=None
Change-Id: Ibea44880683a301e82ee2ba049003c36fcb44eba
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/29026
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/mainboard/intel')
0 files changed, 0 insertions, 0 deletions