mb/google/rex0: Restore SSD power sequencing GPIOs in ramstage
This change restores the EN_PP3300_SSD GPIO configuration in the ramstage for the Rex0 variant. This is necessary to enable testing of RO lockdown scenarios on FSI'ed Screbo devices, where bootblock changes are not applicable. Additionally, ensures locking the GPIO PAD from getting misconfigured after booting to OS. BUG=b/337971452 BRANCH=firmware-rex-15709.B TEST=Able to boot google/rex with RO locked to an older version without SSD GPIO refactored, and RW is with the latest revision. Change-Id: Ia7564b14a20d00e9bb2c9466b7a737dd97f01351 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82909 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
committed by
Felix Held
parent
b0692f65b6
commit
b6e949ff8e
@ -45,6 +45,8 @@ static const struct pad_config gpio_table[] = {
|
|||||||
|
|
||||||
/* GPP_A18 : [] ==> CAM_PSW_L */
|
/* GPP_A18 : [] ==> CAM_PSW_L */
|
||||||
PAD_CFG_GPI_INT_LOCK(GPP_A18, NONE, EDGE_BOTH, LOCK_CONFIG),
|
PAD_CFG_GPI_INT_LOCK(GPP_A18, NONE, EDGE_BOTH, LOCK_CONFIG),
|
||||||
|
/* GPP_A19 : [] ==> EN_PP3300_SSD */
|
||||||
|
PAD_CFG_GPO_LOCK(GPP_A19, 1, LOCK_CONFIG),
|
||||||
/* GPP_A21 : [] ==> WWAN_CONFIG2 */
|
/* GPP_A21 : [] ==> WWAN_CONFIG2 */
|
||||||
PAD_CFG_GPI(GPP_A21, NONE, DEEP),
|
PAD_CFG_GPI(GPP_A21, NONE, DEEP),
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user