Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44653 )
Change subject: drivers/spi/tpm: Add helper to identify how cr50 sees AP reset
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44653/1/src/drivers/spi/tpm/tpm.h
File src/drivers/spi/tpm/tpm.h:
https://review.coreboot.org/c/coreboot/+/44653/1/src/drivers/spi/tpm/tpm.h@4...
PS1, Line 48: cr50_sees_ap_reset_on_sys_reset
I prefer option 1.
On a second thought, passing firmware version seems more generic than the cr50_firmware_pltrst_on_wrong_pin. May be more use-cases in future might benefit out of it than this one-off helper function. I will go ahead and implement a getter function to get the firmware version.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/44653
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id84b152993f253878a6c133cc433a0da2c990cf2
Gerrit-Change-Number: 44653
Gerrit-PatchSet: 2
Gerrit-Owner: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Daniel Kurtz
djkurtz@google.com
Gerrit-Reviewer: Edward O'Callaghan
quasisec@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Karthikeyan Ramasubramanian
kramasub@chromium.org
Gerrit-Reviewer: Namyoon Woo
namyoon@google.com
Gerrit-Reviewer: Nick Vaccaro
nvaccaro@google.com
Gerrit-Reviewer: Sam McNally
sammc@google.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Fri, 21 Aug 2020 06:42:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Comment-In-Reply-To: Karthik Ramasubramanian
kramasub@google.com
Gerrit-MessageType: comment