Andrey Petrov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39427 )
Change subject: mb/tiogapass: use common driver to configure GPIO
......................................................................
Patch Set 39:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39427/38/src/mainboard/ocp/tiogapas...
File src/mainboard/ocp/tiogapass/ramstage.c:
https://review.coreboot.org/c/coreboot/+/39427/38/src/mainboard/ocp/tiogapas...
PS38, Line 20: /* configure Lewisburg PCH GPIO pads */
FSP-M can reconfigure GPIO using default settings. […]
FSP-M can set GPIOs with the upd field. Setting it NULL should make FSP leave the pads alone.
We probably want to move this initialization to bootblock or romstage (anything that is pre FSP-M) because some of FSP-M functionality expects pads to be configured to meaningful values.
FSP code does not have any safety checks w.r.t existing GPIO config. So, configuring pads before FSP-M is a good idea
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39427
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I818d040fa33f3e7b94b73c9bbbafca5df424616d
Gerrit-Change-Number: 39427
Gerrit-PatchSet: 39
Gerrit-Owner: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Andrey Petrov
anpetrov@fb.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Andrey Petrov
andrey.petrov@gmail.com
Gerrit-CC: David Hendricks
david.hendricks@gmail.com
Gerrit-CC: Patrick Rudolph
siro@das-labor.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 27 Apr 2020 19:17:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Maxim Polyakov
max.senia.poliak@gmail.com
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment