summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2018-10-11 18:16:59 +0800
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-10-18 16:22:40 +0000
commit9937a063d47c974f274ece2fadcc13faf6423929 (patch)
tree7adab74d57426fff327375b6cb6afc1a8cbbae4e /src/mainboard/google
parent660389ef9e10dbe2735820baaf035c14fef6fafc (diff)
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/google')
0 files changed, 0 insertions, 0 deletions